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 04be969 commit d73ffa5Copy full SHA for d73ffa5
.github/workflows/router.yaml
@@ -18,8 +18,11 @@ jobs:
18
run: |
19
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" && "${GITHUB_REF##*/}" == "main" ]]; then
20
echo "target=latest" >> $GITHUB_OUTPUT
21
- else
+ # only run on all pushes or pull requests from forks
22
+ elif [[ "$GITHUB_EVENT_NAME" == "push" ]] || [[ "$GITHUB_HEAD_REPO" != "$GITHUB_REPOSITORY" ]]; then
23
echo "target=feature" >> $GITHUB_OUTPUT
24
+ else
25
+ echo "target=skip" >> $GITHUB_OUTPUT
26
fi
27
28
run-feature:
0 commit comments