chore: Refactor custom_tag logic in CI workflow #4010
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: "Semantic Commit Check" | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| merge_group: | |
| types: [checks_requested] | |
| branches: [main] | |
| jobs: | |
| main: | |
| name: Semantic Commit Message Check | |
| if: ${{ github.event_name == 'pull_request' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # ratchet:amannn/action-semantic-pull-request@v6 | |
| name: Check PR for Semantic Commit Message | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} |