File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ## Description
2+ <!-- Explain what changes were made and why -->
3+
4+ ## Version Bump Checklist
5+ - [ ] I have updated ` version.txt ` with a new version number.
6+ - [ ] I have verified that the new version follows semantic versioning (` MAJOR.MINOR.PATCH ` ).
7+
8+ ## Additional Notes
9+ New builds should be made via concourse and follow the internal release guidelines documented on confluence.
Original file line number Diff line number Diff line change 1+ name : Enforce Version Bump
2+ permissions :
3+ contents : read
4+ pull-requests : read
5+ on :
6+ pull_request :
7+ branches :
8+ - main
9+
10+ jobs :
11+ check-version-bump :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Get changed files
18+ id : changed-files
19+ uses : tj-actions/changed-files@cbda684547adc8c052d50711417fa61b428a9f88
20+
21+ - name : Check if version.txt was modified
22+ run : |
23+ if ! echo "${{ steps.changed-files.outputs.all_changed_files }}" | grep -q "version.txt"; then
24+ echo "Error: version.txt was not modified in this PR. Please bump the version number."
25+ exit 1
26+ fi
Original file line number Diff line number Diff line change 1+ 1.3.55
You can’t perform that action at this time.
0 commit comments