Remove Needs: Submitter Input
label on push
#9204
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #9199
Removes any existing Needs: Submitter InputWaiting on input from the creator of the issue/pr [managed]
labels from PRs when the pull request's head branch is updated.
Technical
The
pull_request_target
event was chosen overpull_request
event, as the workflow will not run forpull_request
events if there is a merge conflict (more details here).Our labeler configuration is set to add a Needs: Submitter InputWaiting on input from the creator of the issue/pr [managed]
label if the PR includes changes to any file in the project's non-existent
dev/null
directory. When coupled with a truthysync-labels
input, the label is removed every time there is no change to anydev/null
file. This isn't the most intuitive way to remove labels, but is recommended by the action's team (here)..github/labeler.yml
is the default path for the labeler's configuration file. If we want to move this elsewhere, the path is configurable (not that I'm suggesting that we move the file --- just pointing out that we can).Testing
master
branch of your repo (not this one)README
update)Needs: Submitter Input
. You'll likely have to create this label in your repo --- be sure to use the exact string when creating the label.Needs: Submitter Input
label should be removed after the action finishes. Any other labels should be unaffected.Screenshot
Stakeholders