Skip to content

Added GitHub Actions templates and tool configuration files #16

Added GitHub Actions templates and tool configuration files

Added GitHub Actions templates and tool configuration files #16

on: pull_request
name: Review
env:
COMPOSE_USER: root
jobs:
check-github-actions-documentation:
runs-on: ubuntu-latest
name: Check that Github Actions documentation is up to date
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
- run: |
task github-actions:documentation:update
# Check that documentation has not changed.
- run: |
git diff --exit-code docs/github-action-templates.md
check-github-actions-template-headers:
runs-on: ubuntu-latest
name: Check that Github Actions template headers are up to date
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
- run: |
git config get core.symlinks
git config get --global core.symlinks
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: false
- run: |
task github-actions:update-headers --yes
# Check that files hav not changed.
- run: |
git diff --exit-code github/workflows/