Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add concurrency to cancel stale gerald pr runs in gerald-pr.yml #82

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

StevenACoffman
Copy link
Member

@StevenACoffman StevenACoffman commented Feb 21, 2024

GitHub Pull request shouldn't bother with stale Gerald notification runs when they've already been updated (and possibly corrected). Gerald currently triggers for edited, opened, reopened, ready_for_review, synchronize and a user can very quickly trigger all of them... which currently plod along in parallel wasting money, and repeatedly notifying the same people on Slack (depending on their settings).

TYPE DESCRIPTION
opened pull request is created
edited title, body, or the base branch of the PR is modified
ready_for_review pull request is taken out from draft mode
reopened closed pull request is reopened
synchronize commit(s) pushed to the pull request

GitHub Pull request shouldn't bother with stale Gerald notification runs when they've already been updated (and possibly corrected). Gerald currently triggers for `edited, opened, reopened, ready_for_review, synchronize` and a user can very quickly trigger all of them... which currently plod along in parallel wasting money, and repeatedly notifying the same people on Slack (depending on their settings).

TYPE | DESCRIPTION
-- | --
opened | pull request is created
edited | title, body, or the base branch of the PR is modified
ready_for_review | pull request is taken out from draft mode
reopened | closed pull request is reopened
synchronize | commit(s) pushed to the pull request

Signed-off-by: Steve Coffman <[email protected]>
@khan-actions-bot
Copy link
Contributor

Gerald

Required Reviewers
  • @Khan/github-actions for changes to .github/workflows/gerald-pr.yml

Don't want to be involved in this pull request? Comment #removeme and we won't notify you of further changes.

@StevenACoffman
Copy link
Member Author

See Khan/webapp#20006

@StevenACoffman StevenACoffman merged commit 59ab613 into main Feb 21, 2024
7 checks passed
@StevenACoffman StevenACoffman deleted the StevenACoffman-patch-1 branch February 21, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants