Weekly Board Conflict Sweep #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Weekly Board Conflict Sweep | |
| on: | |
| schedule: | |
| # Full-file sweep every Sunday at 06:00 UTC. | |
| - cron: '0 6 * * 0' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| sweep: | |
| name: Weekly Conflict Sweep | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Run full-file conflict check | |
| id: check | |
| # shell: bash runs with -o pipefail so the script's exit code is not | |
| # masked by `tee` in the pipeline. | |
| shell: bash | |
| run: ./Tools/check_board_types_conflicts.sh | tee conflict_output.txt | |
| # If the sweep failed, open a tracking issue or append to the existing | |
| # open one so repeated weekly failures collect in a single thread. | |
| - name: Report failure | |
| if: failure() | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
| run: ./Tools/report_board_conflict_failure.sh |