Repository navigation
Use cancel-in-progress instead of styfle/cancel-workflow-action. - #8542
Merged
Merged
Conversation
copybara-service
Bot
force-pushed
the
test_943469061
branch
from
July 6, 2026 21:05
159fa97 to
f73d4a8
Compare
Advantages: - We don't need to grant write permissions to a third-party action (or even use it at all). - Not that I have any reason to think it's likely to be a problem, but strange things happen sometimes. - One less action means one less thing for us to merge Dependabot updates for. - The new approach can easily allow CI for merged trunk commits to continue even after other trunk commits are merged, while still stopping PR CI when new changes are pushed. - This is especially nice because cancellations (at least those from `styfle/cancel-workflow-action`, maybe in general) show up as _failures_. It's nice to be able to pick out _real_ failures (e.g., those fixed by 8ee72dc and 74eccf2) without sorting through cancellations. - All else being equal, it's nice to have smaller, simpler configuration. Assuming that this approach holds up, I'll replicate it to our other projects. RELNOTES=n/a PiperOrigin-RevId: 943495905
copybara-service
Bot
force-pushed
the
test_943469061
branch
from
July 6, 2026 21:26
f73d4a8 to
61c5f64
Compare
This was referenced Jul 13, 2026
Merged
copybara-service Bot
pushed a commit
to google/inject-common
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/escapevelocity
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/guava-beta-checker
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/caliper
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/auto
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/truth
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/jimfs
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
copybara-service Bot
pushed a commit
to google/flogger
that referenced
this pull request
Jul 13, 2026
Compare cl/943495905 / google/guava#8542. RELNOTES=n/a PiperOrigin-RevId: 947083935
cpovirk
added a commit
to google/google-java-format
that referenced
this pull request
Aug 10, 2026
Compare google/guava#8542. Aside from the reasons listed there, I wonder if this would have avoided a flaky(?) failure that I saw today on #1441: ``` Run styfle/cancel-workflow-action@d07a454 with: access_token: *** ignore_sha: false all_but_latest: false force_cancel: false { eventName: 'pull_request', sha: 'ca5f660437c7f1489d511540cf8c6d047ea0edcf', headSha: 'a160145b17ff487adfa4519b087472e3d328088d', branch: 'zizdep', owner: 'google', repo: 'google-java-format', GITHUB_RUN_ID: '31412633123' } Found token: yes Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca ```
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.
Use
cancel-in-progressinstead ofstyfle/cancel-workflow-action.Advantages:
styfle/cancel-workflow-action, maybe in general) show up as failures. It's nice to be able to pick out real failures (e.g., those fixed by 8ee72dc and 74eccf2) without sorting through cancellations.Assuming that this approach holds up, I'll replicate it to our other projects.
RELNOTES=n/a