Skip to content

Commit 9d00d1e

Browse files
committed
fix: perform an atomic push when releasing
This avoids the following error: "Updates were rejected because the tip of your current branch is behind its remote counterpart" This happens when a PR is merged while release is in progress.
1 parent 7954593 commit 9d00d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Push to docker registry
6565
run: |
6666
docker push $DOCKER_REGISTRY_URL/wagoid/commitlint-github-action:$VERSION
67-
- run: git push --follow-tags origin master
67+
- run: git push --atomic --follow-tags origin master
6868
- name: Create a git tag for the major version
6969
run: |
7070
major=`echo $VERSION | sed -E 's/([0-9]+)(.+)/\1/'`

0 commit comments

Comments
 (0)