feat: implement issue recommendation system for contributor progression #102
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: Bot - On PR Update | |
| # Runs on new commits (synchronize) and PR body edits (edited). Performs all | |
| # 4 checks (DCO, GPG, merge conflict, issue link), posts/updates unified | |
| # comment, and conditionally swaps the status label via bot-on-pr-update.js. | |
| # For edited events, exits early if only title/base changed. | |
| on: | |
| pull_request_target: | |
| types: | |
| - synchronize | |
| - edited | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| jobs: | |
| on-pr-update: | |
| runs-on: hiero-client-sdk-linux-large | |
| if: github.event.pull_request.draft == false | |
| concurrency: | |
| group: pr-bot-${{ github.event.pull_request.number }} | |
| cancel-in-progress: false | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout Repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Run Bot | |
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 | |
| with: | |
| script: | | |
| const script = require('./.github/scripts/bot-on-pr-update.js'); | |
| await script({ github, context }); |