Repository navigation
Add a composite action that resolves the angr/binaries ref - #123
Merged
Merged
Conversation
cle's CI grew a step that reads the pull request body, finds a referenced angr/binaries pull request and checks that out instead of master. The same step is wanted in angr's coverage and nightly workflows, in pysoot and in angr-management, and copying twenty lines of shell into each of them would leave six near-identical blocks to keep in step. This is that logic once, as a composite action. It only resolves the ref and outputs it, so each workflow keeps its own checkout step along with whatever options it already sets, such as pysoot's sparse-checkout.
This was referenced Aug 24, 2026
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.
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS
cle's CI resolves a referencedangr/binariespull request and checks that out in place of master, which is what unblocked the fixture-dependent pull requests in that repository. The same step is wanted inangr's coverage and nightly workflows, inpysoot, and inangr-management, and pasting the twenty lines of shell into each would leave six near-identical copies to keep in step.This adds the logic once as a composite action. It resolves the ref and outputs it, rather than doing the checkout itself, so each workflow keeps its existing
actions/checkoutstep and whatever options it already sets —pysoothas asparse-checkout, and the repositories pin different checkout versions.Behaviour matches the step merged in angr/cle#738:
angr/binaries#Nor a pull request URL in the body selectsrefs/pull/N/headwhen that pull request is open, and anything else falls back to master, including an empty body on a scheduled run. A reference to a different repository is ignored.Consumer pull requests follow in
angr,pysootandangr-management, plus one collapsingcle's inline block into a call. Those are blocked on this one, since they reference the action atmaster.