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
|
||||
run: |
|
||||
git add *.csv
|
||||
git commit -m "Automated update"
|
||||
|
||||
- name: Push changes
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git push origin main
|
||||
if (git diff-index --quiet HEAD) {
|
||||
echo "No changes to commit"
|
||||
} else {
|
||||
git commit -m "Automated update"
|
||||
git push origin main
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user