Skip to content

Commit 6ef492d

Browse files
sionsmithclaude
andcommitted
fix: pin actions to commit SHAs, fix deprecated set-output
Pin all GitHub Actions to immutable commit SHAs instead of mutable tags (@master, @v1, @v2, etc). Replace deprecated ::set-output with $GITHUB_OUTPUT. Add explicit permissions blocks. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 950519f commit 6ef492d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ jobs:
6262
[[ $SENDER == "osotopbot" ]] || git push
6363
# Set status to fail, because the push should trigger another status check,
6464
# and we use success to indicate the checks are finished.
65-
printf "::set-output name=%s::%s\n" "changed" "true"
65+
echo "changed=true" >> "$GITHUB_OUTPUT"
6666
exit 1
6767
else
68-
printf "::set-output name=%s::%s\n" "changed" "false"
68+
echo "changed=false" >> "$GITHUB_OUTPUT"
6969
echo "No changes detected"
7070
fi

0 commit comments

Comments
 (0)