Feedback macro #135
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 modules in PR for version incrementation | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| types: [opened, synchronize] | |
| jobs: | |
| check-versions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Get git diff to feed to script | |
| run: | | |
| git fetch origin main | |
| git diff origin/main HEAD > git_diff.txt | |
| - name: check git diff | |
| run: cat git_diff.txt | |
| - name: Check version numbers | |
| run: bash .github/scripts/check_versions.sh git_diff.txt |