name: Remove Labels on: [issue_comment] jobs: remove_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