feat: auto commit changes
This commit is contained in:
parent
7fad4236ba
commit
68f2516c2d
1 changed files with 9 additions and 9 deletions
18
.github/workflows/update_cve_and_docs.yml
vendored
18
.github/workflows/update_cve_and_docs.yml
vendored
|
@ -34,12 +34,12 @@ jobs:
|
||||||
pwd
|
pwd
|
||||||
sudo bash ./updateStaff.sh
|
sudo bash ./updateStaff.sh
|
||||||
|
|
||||||
# Runs a single command using the runners shell
|
- name: Run the Action
|
||||||
- name: Commit CVE result to repo
|
uses: devops-infra/action-commit-push@master
|
||||||
run: |
|
with:
|
||||||
pwd
|
github_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
sudo git config --global user.name "Jean-Marie Renouard"
|
add_timestamp: true
|
||||||
sudo git config --global user.email "jmrenouard@gmail.com"
|
commit_prefix: "[AUTO]"
|
||||||
sudo git add ./vulnerabilities.csv ./mysqltuner.pl ./USAGE.md
|
commit_message: "Updates CVE and docs (via Actions)"
|
||||||
sudo git commit -m "Updates CVE and docs (via Actions) - $(date +'%Y-%m-%d')"
|
force: false
|
||||||
sudo git push
|
target_branch: update/version
|
Loading…
Reference in a new issue