We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a22439 commit 7e7221aCopy full SHA for 7e7221a
1 file changed
.github/workflows/ci_k8_base.yml
@@ -210,13 +210,14 @@ jobs:
210
211
- name: Check if there are commits between staging to main
212
id: check_commits
213
+ if: ${{ inputs.WF_CREATE_PR_IN_MAIN}}
214
run: |
215
if [ "$(git rev-list --count 'origin/main..HEAD')" -eq 0 ]; then
216
echo "No commits to create pull request for."
217
echo "name=no_commits_head_main::true" >> $GITHUB_OUTPUT
218
else
219
echo "Commits found. Ready to create pull request."
- echo "::no_commits_head_main::false" >> $GITHUB_OUTPUT
220
+ echo "name::no_commits_head_main::false" >> $GITHUB_OUTPUT
221
fi
222
223
- name: Create Pull Request for prod
0 commit comments