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 2355cf0 commit 038fdc5Copy full SHA for 038fdc5
ci/modified-packages/action.yml
@@ -19,8 +19,9 @@ runs:
19
run: |
20
PULLREQUEST=${{ github.event.number }}
21
PULLREQUEST=${PULLREQUEST:-false}
22
+ BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF}}
23
DEFAULT_BRANCH=${{ github.event.repository.default_branch }}
- if [[ ${{ github.event_name }} == "schedule" ]] || ([[ ${{ github.event_name }} == "push" ]] && [[ "$BRANCH" == "$DEFAULT_BRANCH" ]])
24
+ if [[ "${GITHUB_EVENT_NAME}" == "schedule" ]] || ([[ "${GITHUB_EVENT_NAME}" == "push" ]] && [[ "${BRANCH}" == "${DEFAULT_BRANCH}" ]])
25
then
26
ALL=true
27
fi
0 commit comments