Test protobuf packag two #24
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: CodeRabbit Release Gate Comment | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, edited] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| concurrency: | |
| group: coderabbit-release-gate-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| coderabbit-release-gate: | |
| runs-on: ubuntu-latest | |
| # Only run for release PRs /title check as initial filter | |
| if: | | |
| github.event.pull_request && | |
| (startsWith(github.event.pull_request.title, 'chore: release v') || | |
| startsWith(github.event.pull_request.title, 'release v') || | |
| startsWith(github.event.pull_request.title, 'Release v')) | |
| steps: | |
| - name: Harden the runner | |
| uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1 | |
| with: | |
| sparse-checkout: | | |
| .github/coderabbit/release-pr-prompt.md | |
| .github/scripts/post-coderabbit-release-gate-comment.js | |
| sparse-checkout-cone-mode: false | |
| - name: Post CodeRabbit release-gate prompt comment | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd #v8.0.0 | |
| with: | |
| script: | | |
| const script = require('./.github/scripts/release-pr-coderabbit-gate.js'); | |
| await script({ github, context}); |