Skip to content

Commit

Permalink
react based on comment author not issue author
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Oct 16, 2024
1 parent 31e9e19 commit 0ec0737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/remove-awaiting-response-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ jobs:
echo "Repository Owner: ${{ github.event.repository.owner.login }}"
echo "Number: ${{ github.event.issue.number }}"
echo "Issue Author: ${{ github.event.issue.user.login }}"
echo "Comment Author: ${{ github.event.comment.user.login }}"
- name: Remove awaiting response field value
if: |
!contains(fromJson( inputs.users ), github.event.issue.user.login) && github.event.issue.user.login != ''
!contains(fromJson( inputs.users ), github.event.comment.user.login) && github.event.comment.user.login != ''
run: |
gh api graphql -f query='
query($repo: String!, $owner: String!, $issueNumber: Int!) {
Expand Down

0 comments on commit 0ec0737

Please sign in to comment.