Skip to content

test issue

test issue #3

name: Remove `waiting for user response` label
on:
issue_comment:
types: [ created ]
jobs:
remove-label:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Remove `waiting for user response` label if exists
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
name: ["waiting for user response"]
});