File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - synchronize
99
1010jobs :
11+ check-commit-organization :
12+ name : Check if 'main' was merged to the ticket branch
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Check that main was not merged
16+ uses : gsactions/commit-message-checker@v2
17+ with :
18+ excludeDescription : ' true' # optional: this excludes the description body of a pull request
19+ excludeTitle : ' true' # optional: this excludes the title of a pull request
20+ checkAllCommitMessages : ' true' # optional: this checks all commits associated with a pull request
21+ accessToken : ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true
22+ pattern : ^(?!Merge branch 'main' into)
23+ error : ' Ticket branch needs to be rebased onto main'
24+
1125 check-commit-message :
1226 name : Check Commit Message
1327 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments