Updating the action triggers for more events#1636
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions workflow triggers so the “Contributor Reputation Check” runs on more PR/issue lifecycle events, addressing cases where the check previously didn’t rerun often enough.
Changes:
- Expand
pull_request_targettrigger types to includesynchronize,reopened,edited, andready_for_review. - Expand
issuestrigger types to includereopenedandedited.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/contributor-check.yml | Broadens workflow event triggers to run the contributor check more frequently across PR/issue updates. |
Copilot's findings
Comments suppressed due to low confidence (1)
.github/workflows/contributor-check.yml:7
- Including
issues: editedwill rerun the check whenever anyone edits the issue (including maintainers), but the workflow still checks the original issue author. If the intent is only to check on first creation/reopen, consider removingeditedto reduce redundant runs and avoid repeated comments/labels on the same issue.
types: [opened, reopened, edited]
- Files reviewed: 1/1 changed files
- Comments generated: 1
| on: | ||
| pull_request_target: | ||
| types: [opened] | ||
| types: [opened, synchronize, reopened, edited, ready_for_review] |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Contributor Check wasn't running often enough