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 0d1fec1 commit 6190ab5Copy full SHA for 6190ab5
.github/workflows/buildAndPublish.yml
@@ -54,10 +54,12 @@ jobs:
54
if [ "$GITHUB_EVENT_NAME" == "workflow_run" ]; then
55
GIT_REF="${{ github.event.workflow_run.head_branch }}"
56
else
57
- GIT_REF="${GITHUB_REF#refs/heads/}" # Strip refs/heads/ from github.ref
+ GIT_REF="${{ github.ref_name }}"
58
fi
59
60
- changes=$(git diff "$GIT_REF"^ "$GIT_REF" --ignore-all-space --name-only -- src/)
+ echo "Using GIT_REF: $GIT_REF"
61
+
62
+ changes=$(git diff "$GIT_REF^" "$GIT_REF" --ignore-all-space --name-only -- src/)
63
nonMarkdownChanges=""
64
continueWorkflow=true
65
0 commit comments