build: prepare for v3.15.0 #10563
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: commitlint | |
| # yamllint disable-line rule:truthy | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| permissions: | |
| contents: read | |
| # cancel the in-progress workflow when PR is refreshed. | |
| concurrency: | |
| # yamllint disable-line rule:truthy rule:line-length | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| commitlint: | |
| name: commitlint | |
| if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| # yamllint disable-line rule:line-length | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: commitlint | |
| # yamllint disable-line rule:line-length | |
| run: make containerized-test TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}" |