Repository navigation
✨ feat(validate-news): skip labels set at opening - #40
Merged
Merged
Conversation
`gh pr create --label` labels a pull request right after opening it, so callers triggered on `labeled` ran the check twice, and those that cancel runs in progress showed the cancelled run as a failed check. A label event within a minute of opening now passes at once: the run for `opened` reads the labels from the API when it checks, so it already covers that label.
gaborbernat
force-pushed
the
news-skip-opening-labels
branch
from
November 2, 2026 19:04
9e37074 to
39e5fae
Compare
This was referenced Nov 2, 2026
This was referenced Nov 2, 2026
gaborbernat
added a commit
to tox-dev/sphinx-autodoc-typehints
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/pre-commit-uv
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/action-pre-commit-uv
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/tox-uv
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to pytest-dev/pytest-print
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/sphinx-argparse-cli
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/python-discovery
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/devpi-process
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/tox-ini-fmt
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to gaborbernat/bump-deps-index
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to gaborbernat/mdformat-hugo
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/mdformat-zola
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/PyVenvManage
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/toml-fmt
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 Runs no longer cancel each other, and the check reads the pull request's labels from the API instead of the event, so the run for opening sees a `skip news` label added with it and both runs agree. The `github-workflows` pin moves to [6.3.0](tox-dev/github-workflows#40). The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/jetbrains-fish
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to pypa/pipx
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/platformdirs
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/filelock
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/pyproject-api
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to pytest-dev/pytest-env
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/pipdeptree
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/tox-gh
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to gaborbernat/pypi-changes
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/xml-fmt
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to pypa/virtualenv
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to quotaline/quotaline
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the shared concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 Label events now get their own concurrency group, so they no longer cancel the run for opening while a new push still cancels a superseded run, as the repository's workflow lint requires. The check moves to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/turbohtml
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 This moves the news check to [github-workflows 6.3.0](tox-dev/github-workflows#40), whose `validate-news` passes at once for a label set within a minute of opening since the run for opening already reads the current labels, and stops cancelling runs in progress. The check keeps its name, so the ruleset needs no change.
gaborbernat
added a commit
to tox-dev/peryx
that referenced
this pull request
Nov 2, 2026
Opening a pull request with labels, as `gh pr create --label` does, fires `labeled` a moment after `opened`. Both started the news check, and the concurrency group cancelled the first run, which the PR then listed as a failed `📝 News fragment` check while the other run passed. 👷 Runs no longer cancel each other, and the check reads the pull request's labels from the API instead of the event, so the run for opening sees a `skip news` label added with it and both runs agree. The `github-workflows` pin moves to [6.3.0](tox-dev/github-workflows#40). The check keeps its name, so the ruleset needs no change.
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.
Opening a pull request with labels, as
gh pr create --labeldoes, fireslabeleda moment afteropened. Callers trigger the news check on both, so it ran twice, and callers whosenews.yamlcancels runs in progress showed the cancelled run as a failed📝 News fragmentcheck while the other passed. 🏷️validate-newsnow passes at once for a label added or removed within a minute of the pull request opening. The run foropenedalready reads the labels from the API when it checks, so askip newslabel applied at opening still counts there. Label changes after that first minute run the full check as before, so adding or removingskip newslater still updates the required status.The README now tells callers not to cancel runs in progress, since cancelling is what turned the duplicate into a red check. Callers pick this up by moving their pin to the next release and dropping the
concurrencyblock fromnews.yaml; the check keeps its📝 News fragmentname, so rulesets need no change.