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 5ae3cf7 commit d014fb8Copy full SHA for d014fb8
.github/workflows/update-kube-stack-version.yml
@@ -34,7 +34,9 @@ jobs:
34
- name: Check for changes
35
id: verify-changed-files
36
run: |
37
- if [ -n "$(git status --porcelain)" ]; then
+ # Check if there are commits ahead of origin/main
38
+ COMMITS_AHEAD=$(git rev-list --count origin/main..HEAD)
39
+ if [ "$COMMITS_AHEAD" -gt 0 ]; then
40
echo "changed=true" >> $GITHUB_OUTPUT
41
else
42
echo "changed=false" >> $GITHUB_OUTPUT
0 commit comments