ci: fix capturing commit hash

This commit is contained in:
Wez Furlong
2023-03-11 07:54:11 -07:00
parent c208705940
commit 2c7fb2fd8c
+1 -1
View File
@@ -77,7 +77,7 @@ jobs:
git config --global user.email "${EMAIL}"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git commit -am "Automated doc formatting fix"
echo "hash=$(git rev-parse HEAD)"
echo "hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
git push
- name: Create commit comment
if: steps.git-check.outputs.modified == 'true'