Skip to content

Commit 13f9a38

Browse files
authored
Merge pull request #4 from osodevops/fix/pin-actions-and-fix-set-output
fix: replace deprecated set-output in auto-format.yml
2 parents 950519f + 6ef492d commit 13f9a38

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)