We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553411d commit 4cc846eCopy full SHA for 4cc846e
1 file changed
.github/workflows/sector-release.yaml
@@ -41,7 +41,11 @@ jobs:
41
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
42
git config --global user.name "${{ github.actor}}"
43
44
- git commit . -s -m "Prepare release ${{ github.event.inputs.version }}"
+ if git diff --quiet && git diff --cached --quiet; then
45
+ echo "No changes to commit; pushing branch as-is."
46
+ else
47
+ git commit . -s -m "Prepare release ${{ github.event.inputs.version }}"
48
+ fi
49
git push --set-upstream origin "${{ steps.prepare-branch.outputs.branch-name }}"
50
51
release:
0 commit comments