We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 052dda9 commit 066726aCopy full SHA for 066726a
.github/workflows/fledge.yaml
@@ -104,10 +104,14 @@ jobs:
104
env:
105
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106
run: |
107
- set -x
108
- gh pr create --base main --head fledge --fill-first
109
- gh workflow run rcc -f ref=$(git rev-parse HEAD)
110
- gh pr merge --squash --auto
+ set -ex
+ if [ -n "$(git diff main --numstat)" ]; then
+ gh pr create --base main --head fledge --fill-first
+ gh workflow run rcc -f ref=$(git rev-parse HEAD)
111
+ gh pr merge --squash --auto
112
+ else
113
+ echo "No changes."
114
+ fi
115
shell: bash
116
117
- name: Check release
0 commit comments