Skip to content

Commit 0f12dfe

Browse files
(CI)(modified-packages) clean GITHUB_REF (#635)
2 parents 35cd7d1 + 9c39e83 commit 0f12dfe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.11
1+
1.3.12

ci/modified-packages/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ runs:
1919
run: |
2020
PULLREQUEST=${{ github.event.number }}
2121
PULLREQUEST=${PULLREQUEST:-false}
22+
GITHUB_REF=${GITHUB_REF#refs/heads/}
23+
GITHUB_REF=${GITHUB_REF#refs/tags/}
2224
BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF}}
2325
DEFAULT_BRANCH=${{ github.event.repository.default_branch }}
2426
if [[ "${GITHUB_EVENT_NAME}" == "schedule" ]] || ([[ "${GITHUB_EVENT_NAME}" == "push" ]] && [[ "${BRANCH}" == "${DEFAULT_BRANCH}" ]])

0 commit comments

Comments
 (0)