Rename release workflows #3384
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: GFI Assign on /assign | |
| on: | |
| issue_comment: | |
| types: | |
| - created | |
| permissions: | |
| issues: write | |
| contents: read | |
| jobs: | |
| gfi-assign: | |
| # Only run on issue comments (not PR comments) | |
| if: github.event.issue.pull_request == null | |
| runs-on: hl-sdk-py-lin-md | |
| # Prevent assignment-limit races across different issues by processing | |
| # one GFI assignment workflow at a time for this repository. | |
| concurrency: | |
| group: gfi-assign-${{ github.repository }} | |
| cancel-in-progress: false | |
| steps: | |
| - name: Harden runner | |
| uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Run GFI /assign handler | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 #v9.0.0 | |
| with: | |
| script: | | |
| const script = require('./.github/scripts/bot-gfi-assign-on-comment.js'); | |
| await script({ github, context }); |