mirror of
https://github.com/onestardao/WFGY.git
synced 2026-05-01 21:11:11 +00:00
Update wfgy-problemmap-bot.yml
This commit is contained in:
parent
5bb51638ef
commit
a6b75ced58
1 changed files with 4 additions and 2 deletions
6
.github/workflows/wfgy-problemmap-bot.yml
vendored
6
.github/workflows/wfgy-problemmap-bot.yml
vendored
|
|
@ -17,6 +17,8 @@ jobs:
|
|||
|
||||
- name: Generate ProblemMap scan
|
||||
run: |
|
||||
mkdir -p automation
|
||||
|
||||
{
|
||||
echo "# WFGY ProblemMap Scan"
|
||||
echo
|
||||
|
|
@ -28,12 +30,12 @@ jobs:
|
|||
echo
|
||||
echo "Total ProblemMap docs:"
|
||||
find ProblemMap -type f | wc -l
|
||||
} > problemmap-scan.md
|
||||
} > automation/problemmap-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 problemmap-scan.md
|
||||
git add automation/problemmap-scan.md
|
||||
git diff --staged --quiet || git commit -m "bot: update problemmap scan"
|
||||
git push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue