Add option to delete user profile in Profile Selector (adds #38243) #56102
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 Labels | |
on: [issue_comment, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
remove_labels: | |
permissions: | |
issues: write # for actions-ecosystem/action-remove-labels to remove issue labels | |
pull-requests: write # for actions-ecosystem/action-remove-labels to remove PR labels | |
if: contains(github.event.issue.labels.*.name, 'stale') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-ecosystem/action-remove-labels@v1 | |
if: ${{ github.event.comment.user.url != 'https://github.com/apps/github-actions' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
stale |