Repository navigation
Production Release 11/4 #195
Workflow file for this run
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: Check profile categories | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - 'drivers/**/profiles/*.yml' | |
| jobs: | |
| check-profile-categories: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Gather file changes | |
| id: changed-files | |
| uses: tj-actions/changed-files@v47 | |
| - name: Run python script | |
| env: | |
| ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} | |
| run: | | |
| python ./.github/scripts/check_profile_categories.py | |
| - name: Upload profile categories comment artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: profile_categories_comment | |
| path: | | |
| profile-categories-comment-body.md | |
| - run: echo ${{ github.event.number }} > pr_number.txt | |
| - name: Upload PR info | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pr_number | |
| path: | | |
| pr_number.txt |