Skip to content

ci: cancel stale pull request workflow runs - #2369

Open
HaraldNordgren wants to merge 1 commit into
git:masterfrom
HaraldNordgren:cancel-stale-pr-ci
Open

ci: cancel stale pull request workflow runs#2369
HaraldNordgren wants to merge 1 commit into
git:masterfrom
HaraldNordgren:cancel-stale-pr-ci

Conversation

@HaraldNordgren

Copy link
Copy Markdown
Contributor

Group CI workflow runs by pull request and cancel older revisions so only the latest push consumes runner capacity.

The CI workflow groups runs by commit hash, so every push to a pull
request starts a separate workflow run. Group pull request runs by pull
request number and cancel runs superseded by a newer push, while keeping
push events grouped by commit hash for the skip-if-redundant behavior.

Signed-off-by: Harald Nordgren <haraldnordgren@gmail.com>
@HaraldNordgren

Copy link
Copy Markdown
Contributor Author

/submit

@gitgitgadget-git

Copy link
Copy Markdown

Submitted as pull.2369.git.git.1785492641983.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-git-2369/HaraldNordgren/cancel-stale-pr-ci-v1

To fetch this version to local tag pr-git-2369/HaraldNordgren/cancel-stale-pr-ci-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-git-2369/HaraldNordgren/cancel-stale-pr-ci-v1

@gitgitgadget-git

Copy link
Copy Markdown

This patch series was integrated into seen via 0473647.

@gitgitgadget-git

Copy link
Copy Markdown

This branch is now known as hn/ci-cancel-stale-pr-runs.

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "New Topics" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "Cooking" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "Cooking" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "Cooking" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "Cooking" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "Cooking" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

@gitgitgadget-git

Copy link
Copy Markdown

There was a status update in the "Cooking" section about the branch hn/ci-cancel-stale-pr-runs on the Git mailing list:

GitHub Actions CI workflow runs triggered by pull requests have
been configured to cancel older runs when a new push is made to the
same pull request.

Needs review.
source: <pull.2369.git.git.1785492641983.gitgitgadget@gmail.com>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant