[*] Respect rule of 5 #1888
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: Commit Naming | |
on: | |
push: | |
pull_request: | |
types: [opened] | |
# Cancel CI workflows which are still running from previous pushes | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
naming: | |
name: Commit Naming | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' && !github.event.pull_request.merged || github.event_name == 'push' }} | |
steps: | |
- uses: IceflowRE/gitcc@v2 | |
with: | |
validator_file: .github/helper/commit_validator.mjs |