Skip to content

Commit

Permalink
chore: fix remove-waiting-on-answer workflow (#3097)
Browse files Browse the repository at this point in the history
It took until today for a comment to finally trigger only for this
script to fail. 😅
  • Loading branch information
xiehan authored Aug 18, 2023
1 parent 257f995 commit 3d1fc30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/remove-waiting-on-answer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
contains(github.event.issue.labels.*.name, 'waiting-on-answer') && !contains(github.event.issue.labels.*.name, 'stale') &&
github.event.comment.author_association != 'OWNER' && github.event.comment.author_association != 'MEMBER' &&
github.event.comment.author_association != 'COLLABORATOR' && github.actor != 'github-actions[bot]'
env:
REPO: ${{ github.event.repository.full_name }}
runs-on: ubuntu-latest
steps:
- name: Remove waiting-on-answer label
run: gh issue edit $NUMBER --remove-label "waiting-on-answer"
run: gh issue edit $NUMBER --remove-label "waiting-on-answer" --repo $REPO
env:
NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3d1fc30

Please sign in to comment.