Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 2 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,8 @@ jobs:
- uses: actions/checkout@v6
with:
path: cle
- name: Resolve the angr/binaries ref
id: binaries-ref
shell: bash
env:
GH_TOKEN: ${{ github.token }}
PR_BODY: ${{ github.event.pull_request.body }}
run: |
ref=master
number=$(printf '%s' "$PR_BODY" |
grep -Eo '(angr/binaries#|github\.com/angr/binaries/pull/)[0-9]+' |
head -n 1 |
grep -Eo '[0-9]+$') || true
if [ -n "$number" ]; then
state=$(gh api "repos/angr/binaries/pulls/$number" --jq .state) || state=unavailable
if [ "$state" = open ]; then
ref="refs/pull/$number/head"
else
echo "angr/binaries#$number is $state, so it is not used"
fi
fi
echo "Checking out angr/binaries at $ref"
echo "ref=$ref" >>"$GITHUB_OUTPUT"
- id: binaries-ref
uses: angr/ci-settings/actions/binaries-ref@master
- uses: actions/checkout@v6
with:
repository: angr/binaries
Expand Down
Loading