Use the PMIx functions to check params #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Action is run in conjunction with close-stale-issues.yaml. See | |
# that file for a more complete description of how they work together. | |
name: 'Remove "Awaiting response" label when there has been a reply' | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# From | |
# https://github.com/marketplace/actions/close-issues-after-no-reply: | |
# only remove the label if someone replies to an issue who is not | |
# an owner or collaborator on the repo. | |
if: | | |
github.event.comment.author_association != 'OWNER' && | |
github.event.comment.author_association != 'COLLABORATOR' | |
steps: | |
- name: 'Remove "Awaiting response" label' | |
uses: octokit/[email protected] | |
continue-on-error: true | |
with: | |
route: DELETE /repos/:repository/issues/:issue/labels/:label | |
repository: ${{ github.repository }} | |
issue: ${{ github.event.issue.number }} | |
label: "Awaiting response" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |