mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-04-25 22:17:47 +02:00
add actions
This commit is contained in:
@@ -45,10 +45,9 @@ jobs:
|
|||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
run: |
|
run: |
|
||||||
git add *.csv
|
git add *.csv
|
||||||
git commit -m "Automated update"
|
if (git diff-index --quiet HEAD) {
|
||||||
|
echo "No changes to commit"
|
||||||
- name: Push changes
|
} else {
|
||||||
env:
|
git commit -m "Automated update"
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
git push origin main
|
||||||
run: |
|
}
|
||||||
git push origin main
|
|
||||||
|
|||||||
Reference in New Issue
Block a user