Skip to content

Commit 0687f5e

Browse files
committed
CI/tags: dance to make origin/HEAD work
1 parent 92b70d5 commit 0687f5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tags.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,15 @@ jobs:
3434
persist-credentials: true
3535
# By default, full tags get replaced by lightweight tags, unless we use ref: here to point to the explicit ref we are testing.
3636
ref: ${{ github.ref }}
37+
# But we want to be able to use the current .release-signers from the trunk branch
38+
fetch-depth: 0
3739

3840
- id: key-imports
3941
name: Import keys
4042
shell: bash
4143
run: |2
42-
allowed_signers_file=.release-signers
44+
readonly allowed_signers_file=.release-signers
45+
git remote set-head -a origin
4346
declare -a GitHubSigningUsers=()
4447
while read -r line; do
4548
case "${line:-#}" in

0 commit comments

Comments
 (0)