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 787ab0a commit 5735d86Copy full SHA for 5735d86
.github/workflows/release_prepare.yml
@@ -119,8 +119,12 @@ jobs:
119
# Push the changes
120
- name: Push the changes
121
run: |
122
- git commit -m "Adding the new version to the necessary files."
123
- git push origin HEAD:${{ github.ref }}
+ if git diff --cached --quiet; then
+ echo "No changes to commit"
124
+ else
125
+ git commit -m "Adding the new version to the necessary files."
126
+ git push origin HEAD:${{ github.ref }}
127
+ fi
128
# Create a PR
129
- name: Create a pull request
130
# Only run this part once when the release branch is created
0 commit comments