Skip to content

Commit

Permalink
fetch-vectors: change repo for x509-limbo (#10199)
Browse files Browse the repository at this point in the history
* fetch-vectors: change repo for x509-limbo

Signed-off-by: William Woodruff <[email protected]>

* workflows: trailofbits -> C2SP

Signed-off-by: William Woodruff <[email protected]>

---------

Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Jan 17, 2024
1 parent 895cddf commit 406b771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/fetch-vectors/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
repository: "trailofbits/x509-limbo"
repository: "C2SP/x509-limbo"
path: "x509-limbo"
# Latest commit on the x509-limbo main branch, as of Jan 17, 2024.
ref: "13ee076aae65a2ccfcfe5d3df3fa8b1fb8c540fd" # x509-limbo-ref
4 changes: 2 additions & 2 deletions .github/workflows/x509-limbo-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- id: check-sha-x509-limbo
run: |
SHA=$(git ls-remote https://github.com/trailofbits/x509-limbo refs/heads/main | cut -f1)
SHA=$(git ls-remote https://github.com/C2SP/x509-limbo refs/heads/main | cut -f1)
LAST_COMMIT=$(grep x509-limbo-ref .github/actions/fetch-vectors/action.yml | grep -oE '[a-f0-9]{40}')
if ! grep -q "$SHA" .github/actions/fetch-vectors/action.yml; then
echo "COMMIT_SHA=${SHA}" >> $GITHUB_OUTPUT
echo "COMMIT_MSG<<EOF" >> $GITHUB_OUTPUT
echo -e "## x509-limbo\n[Commit: ${SHA}](https://github.com/trailofbits/x509-limbo/commit/${SHA})\n\n[Diff](https://github.com/trailofbits/x509-limbo/compare/${LAST_COMMIT}...${SHA}) between the last commit hash merged to this repository and the new commit." >> $GITHUB_OUTPUT
echo -e "## x509-limbo\n[Commit: ${SHA}](https://github.com/C2SP/x509-limbo/commit/${SHA})\n\n[Diff](https://github.com/C2SP/x509-limbo/compare/${LAST_COMMIT}...${SHA}) between the last commit hash merged to this repository and the new commit." >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
fi
- name: Update x509-limbo
Expand Down

0 comments on commit 406b771

Please sign in to comment.