Check upstream master branches for PMIx/PRRTE #2590
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 "State: Awaiting user information" 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 "State: Awaiting user information" 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: State-Awaiting user information | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |