always set a user if we got asked for one #48948
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] | |
jobs: | |
remove_labels: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-ecosystem/action-remove-labels@v1 | |
if: | | |
!startsWith(github.event.comment.body, 'This issue has been marked as "needs info" 4 weeks ago.') && | |
!startsWith(github.event.comment.body, 'This bug report did not receive an update in the last 4 weeks.') && | |
!contains(fromJSON('["camilasan", "claucambra", "mgallien", "nilsding", "Rello"]'), github.event.comment.user.login) | |
with: | |
labels: 'needs info' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |