Skip to content

Added GitHub Actions templates and tool configuration files #24

Added GitHub Actions templates and tool configuration files

Added GitHub Actions templates and tool configuration files #24

Workflow file for this run

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
# https://github.com/arduino/setup-task/tree/56d0cc033e3cecc5f07a291fdd39f29388d21800?tab=readme-ov-file#repo-token
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: |
task github-actions:documentation-update
# Check that documentation has not changed.
- run: |
git diff --exit-code docs/
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
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: |
task github-actions:template-headers-update --yes
# Check that files hav not changed.
- run: |
git diff --exit-code github/workflows/