Skip to content

Commit

Permalink
Remove correct label
Browse files Browse the repository at this point in the history
  • Loading branch information
carterbox authored Jan 21, 2023
1 parent 3a7c170 commit 05dfc15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automate-review-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@
- name: remove-labels
if: >
(steps.check_team_review.outputs.result == 'true')
&& contains(github.event.issue.labels.*.name, 'Awaiting author contribution')
&& contains(github.event.issue.labels.*.name, 'review-requested')
uses: actions/github-script@v6
with:
script: |
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ['Awaiting author contribution']
name: ['review-requested']
})
- name: add-labels
if: >
Expand Down

0 comments on commit 05dfc15

Please sign in to comment.