mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-20 07:53:08 +01:00
add actions
This commit is contained in:
13
.github/workflows/create-csv.yml
vendored
13
.github/workflows/create-csv.yml
vendored
@@ -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