Fix: Add DNS validation, G2G_NO_GERRIT #422
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
| --- | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # SPDX-FileCopyrightText: 2025 The Linux Foundation | |
| name: 'Semantic Pull Request' | |
| # yamllint disable-line rule:truthy | |
| on: | |
| # Not supported when workflow contains: amannn/action-semantic-pull-request | |
| # workflow_dispatch: | |
| pull_request: | |
| types: [opened, reopened, edited, synchronize] | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| semantic-pull-request: | |
| name: "Semantic Pull Request" | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 3 | |
| steps: | |
| # Harden the runner used by this workflow | |
| # yamllint disable-line rule:line-length | |
| - uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1 | |
| with: | |
| egress-policy: audit | |
| - name: "Validate pull request title" | |
| # yamllint disable-line rule:line-length | |
| uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| # Requires the type to be capitalised, | |
| # but accept any of the standard types | |
| types: | | |
| Fix | |
| Feat | |
| Chore | |
| Docs | |
| Style | |
| Refactor | |
| Perf | |
| Test | |
| Revert | |
| CI | |
| Build | |
| validateSingleCommit: true | |
| validateSingleCommitMatchesPrTitle: true |