ci(cert-tools): Add conventional PR title workflow #3
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: Conventional PR Title | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/pr_conventional-title.yaml" | |
| - "rust/cert-tools" | |
| jobs: | |
| check: | |
| name: Ensure PR title is conventional | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - shell: bash | |
| env: | |
| PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| echo "$PULL_REQUEST_TITLE" > pull_request_title | |
| - uses: crate-ci/committed@dc6f20ddd899fe6d6f0402807884c0a4b3176b53 # v1.1.10 | |
| with: | |
| args: --commit-file pull_request_title --config rust/cert-tools/committed.toml -vv --no-merge-commit | |
| commits: "" |