Skip to content

Fix Documentation for environment variables #2738

Fix Documentation for environment variables

Fix Documentation for environment variables #2738

# 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 }}