Skip to content

Commit 8b915f4

Browse files
update git command
1 parent 3a25d5b commit 8b915f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/periodic-zizmor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
working-directory: ./target
9696
run: |
9797
SHA=$(git rev-parse HEAD)
98-
REF=$(git rev-parse --symbolic-full-name HEAD)
98+
REF=$(git symbolic-ref --quiet HEAD)
9999
100100
echo "sha=${SHA}" >> $GITHUB_OUTPUT
101101
echo "ref=${REF}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)