Skip to content

Commit dc2d928

Browse files
authored
ci: update wycheproof convergence branch to main (#12957)
This updates the CI machinery that fetches Wycheproof to reflect that the upstream moved the convergence branch from 'master' to 'main'.
1 parent e9d4682 commit dc2d928

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/fetch-vectors/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
with:
1010
repository: "C2SP/wycheproof"
1111
path: "wycheproof"
12-
# Latest commit on the wycheproof master branch, as of May 02, 2025.
12+
# Latest commit on the wycheproof main branch, as of May 02, 2025.
1313
ref: "df4e933efef449fc88af0c06e028d425d84a9495" # wycheproof-ref
1414

1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/x509-limbo-version-bump.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
COMMIT_SHA: ${{ steps.check-sha-x509-limbo.outputs.COMMIT_SHA }}
4040
- id: check-sha-wycheproof
4141
run: |
42-
SHA=$(git ls-remote https://github.com/C2SP/wycheproof refs/heads/master | cut -f1)
42+
SHA=$(git ls-remote https://github.com/C2SP/wycheproof refs/heads/main | cut -f1)
4343
LAST_COMMIT=$(grep wycheproof-ref .github/actions/fetch-vectors/action.yml | grep -oE '[a-f0-9]{40}')
4444
if ! grep -q "$SHA" .github/actions/fetch-vectors/action.yml; then
4545
echo "COMMIT_SHA=${SHA}" >> $GITHUB_OUTPUT
@@ -51,7 +51,7 @@ jobs:
5151
run: |
5252
set -xe
5353
CURRENT_DATE=$(date "+%b %d, %Y")
54-
sed -E -i "s/Latest commit on the wycheproof master branch.*/Latest commit on the wycheproof master branch, as of ${CURRENT_DATE}./" .github/actions/fetch-vectors/action.yml
54+
sed -E -i "s/Latest commit on the wycheproof main branch.*/Latest commit on the wycheproof main branch, as of ${CURRENT_DATE}./" .github/actions/fetch-vectors/action.yml
5555
sed -E -i "s/ref: \"[0-9a-f]{40}\" # wycheproof-ref/ref: \"${COMMIT_SHA}\" # wycheproof-ref/" .github/actions/fetch-vectors/action.yml
5656
git status
5757
if: steps.check-sha-wycheproof.outputs.COMMIT_SHA

0 commit comments

Comments
 (0)