1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-05 05:15:20 +00:00

Merge pull request #4352 from thatux/githubactions_docs

Automatically generate docs using Github actions 2
This commit is contained in:
hashcat-bot 2025-07-21 21:25:24 +02:00 committed by GitHub
commit 24434a31c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,13 +130,14 @@ jobs:
env:
SHARED: ${{ matrix.shared }}
run: |
git config user.name "hashcat-bot"
git config user.email "hashcat-bot@hashcat.net"
# https://github.com/actions/checkout?tab=readme-ov-file#push-a-commit-to-a-pr-using-the-built-in-token
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add docs/hashcat-help.md
git add docs/hashcat-example_hashes.md
if ! git diff --cached --quiet; then
git commit -m "Automatically udated docs/hashcat-help.md or docs/hashcat-example_hashes.md (by Github action)"
git push origin HEAD:${{ github.head_ref }}
git commit -m "Automatically updated docs/hashcat-help.md or docs/hashcat-example_hashes.md (by Github action)"
git push
else
echo "No need to update docs/hashcat-help.md or docs/hashcat-example_hashes.md"
fi