build(deps): bump the devops group across 1 directory with 25 updates #130
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
| # Validates that PR titles follow the conventional commits specification. | |
| # https://www.conventionalcommits.org/en/v1.0.0/ | |
| # | |
| # Since PRs are squash-merged, the PR title becomes the commit message on main. | |
| # This is the foundation for automated changelog generation and version bumping. | |
| # | |
| # Uses pull_request_target to post sticky comments on invalid titles (requires | |
| # pull-requests: write). No code checkout or secret access — only reads the | |
| # PR title via the API and posts/deletes a comment. | |
| name: PR Title Check | |
| on: | |
| # zizmor: ignore[dangerous-triggers] -- no checkout, no secrets, only API reads + PR comment write | |
| pull_request_target: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: {} | |
| jobs: | |
| validate: | |
| name: Validate PR title | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Check PR title | |
| uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 #v6.1.1 | |
| id: lint_pr_title | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| feat | |
| fix | |
| perf | |
| refactor | |
| build | |
| chore | |
| docs | |
| test | |
| ci | |
| style | |
| revert | |
| release | |
| scopes: | | |
| zebra-chain | |
| zebra-consensus | |
| zebra-network | |
| zebra-state | |
| zebra-rpc | |
| zebra-script | |
| zebra-node-services | |
| zebra-test | |
| zebra-utils | |
| zebrad | |
| tower-batch-control | |
| tower-fallback | |
| chain | |
| consensus | |
| network | |
| state | |
| rpc | |
| script | |
| deps | |
| ci | |
| release | |
| requireScope: false | |
| subjectPattern: ^.+$ | |
| subjectPatternError: | | |
| PR title must follow conventional commits: | |
| <type>(<optional scope>): <description> | |
| Examples: | |
| fix(zebra-rpc): correct connection timeout | |
| feat(zebra-chain): add signature verification | |
| docs: update installation guide | |
| build(deps): bump serde to 1.0.220 | |
| See: https://www.conventionalcommits.org/ | |
| Docs: https://github.com/ZcashFoundation/zebra/blob/main/CONTRIBUTING.md#pull-requests | |
| - name: Comment on invalid PR title | |
| uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 #v3.0.4 | |
| # null comparison is intentional: the action only sets error_message on failure. | |
| # When validation passes the output key is absent (null), not empty string. | |
| # See: https://github.com/amannn/action-semantic-pull-request#outputs | |
| if: always() && (steps.lint_pr_title.outputs.error_message != null) | |
| with: | |
| header: pr-title-lint-error | |
| message: | | |
| PR titles must follow [Conventional Commits](https://www.conventionalcommits.org/) format. Your title needs a small adjustment. | |
| ``` | |
| ${{ steps.lint_pr_title.outputs.error_message }} | |
| ``` | |
| See the [contribution guide](https://github.com/ZcashFoundation/zebra/blob/main/CONTRIBUTING.md#pull-requests) for details. | |
| - name: Remove comment on valid PR title | |
| uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 #v3.0.4 | |
| if: ${{ steps.lint_pr_title.outputs.error_message == null }} | |
| with: | |
| header: pr-title-lint-error | |
| delete: true |