Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Don't fail if no changes to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Sep 25, 2023
1 parent 54ce77c commit c4e3baf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/on-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ jobs:
git add vendir.lock
# FIXME: optimize for idem potentency
./addblob.sh
git add config/blobs.yml
git commit -a -m "updating blobs"
remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git"
git push ${remote_repo} HEAD:master
git add config/blobs.yml
! git commit -a -m "updating blobs" && \
git push ${remote_repo} HEAD:master

- name: create bosh dev release
Expand Down

0 comments on commit c4e3baf

Please sign in to comment.