Fewer permission requests for Deno #775
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
name: Remove cleanup label on issues after comment | |
# https://github.com/marketplace/actions/close-issues-after-no-reply | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: | | |
github.event.comment.author_association != 'OWNER' && | |
github.event.comment.author_association != 'COLLABORATOR' | |
steps: | |
- name: Remove cleanup label on issues after comment | |
uses: octokit/request-action@v2.x | |
continue-on-error: true | |
with: | |
route: DELETE /repos/:repository/issues/:issue/labels/:label | |
repository: ${{ github.repository }} | |
issue: ${{ github.event.issue.number }} | |
label: cleanup | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |