mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Don't fail if there's nothing to commit and push
This commit is contained in:
parent
51c65ef6a8
commit
9d8e3d2273
1 changed files with 2 additions and 4 deletions
6
.github/workflows/checksums.yml
vendored
6
.github/workflows/checksums.yml
vendored
|
@ -31,8 +31,7 @@ jobs:
|
|||
git config --global user.name 'SaltStack GH Automation'
|
||||
git config --global user.email 'actions@github.com'
|
||||
git add *.sha256
|
||||
git commit -am "Update sha256 checksums"
|
||||
git push
|
||||
git commit -am "Update sha256 checksums" && git push || true
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
if: github.repository == 'saltstack/salt-bootstrap'
|
||||
|
@ -51,5 +50,4 @@ jobs:
|
|||
python3 .github/workflows/scripts/update-release-shasum.py ${{ env.BS_VERSION }} ${{ env.SH }}
|
||||
git config --global user.name 'SaltStack GH Automation'
|
||||
git config --global user.email 'actions@github.com'
|
||||
git commit -am "Update README.rst with latest release sha256sum"
|
||||
git push
|
||||
git commit -am "Update README.rst with latest release sha256sum" && git push || true
|
||||
|
|
Loading…
Add table
Reference in a new issue