Skip to content

Rename release workflows #2631

Rename release workflows

Rename release workflows #2631

name: Unassign on /unassign
on:
issue_comment:
types:
- created
permissions:
issues: write
contents: read
jobs:
unassign:
# Only run on issue comments (not PR comments)
if: github.event.issue.pull_request == null
runs-on: hl-sdk-py-lin-md
concurrency:
group: unassign-${{ github.event.issue.number }}
cancel-in-progress: false
steps:
- name: Harden runner
uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Run /unassign handler
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
with:
script: |
const script = require('./.github/scripts/bot-unassign-on-comment.js');
await script({ github, context });