mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-28 03:29:51 +00:00
Update wfgy-recognition-bot.yml
This commit is contained in:
parent
a6b75ced58
commit
95ece4a6c8
1 changed files with 4 additions and 2 deletions
6
.github/workflows/wfgy-recognition-bot.yml
vendored
6
.github/workflows/wfgy-recognition-bot.yml
vendored
|
|
@ -17,6 +17,8 @@ jobs:
|
|||
|
||||
- name: Generate recognition scan
|
||||
run: |
|
||||
mkdir -p automation
|
||||
|
||||
{
|
||||
echo "# WFGY Recognition Scan"
|
||||
echo
|
||||
|
|
@ -28,12 +30,12 @@ jobs:
|
|||
echo
|
||||
echo "Total recognition docs:"
|
||||
find recognition -type f | wc -l
|
||||
} > recognition-scan.md
|
||||
} > automation/recognition-scan.md
|
||||
|
||||
- name: Commit report
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add recognition-scan.md
|
||||
git add automation/recognition-scan.md
|
||||
git diff --staged --quiet || git commit -m "bot: update recognition scan"
|
||||
git push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue