Skip to content

Commit e9948e5

Browse files
author
rahul-infra
committed
ci: check preview release.
1 parent 8a81789 commit e9948e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-preview.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ jobs:
4141
unset GITHUB_REF_NAME
4242
unset GITHUB_HEAD_REF
4343
unset GITHUB_BASE_REF
44-
unset GITHUB_EVENT_NAME
4544
4645
# Set them to what we want
4746
export GITHUB_REF="refs/heads/${{ github.event.pull_request.head.ref }}"
4847
export GITHUB_REF_NAME="${{ github.event.pull_request.head.ref }}"
49-
export GITHUB_EVENT_NAME="push"
5048
5149
# Run semantic-release with inline configuration using CLI options
50+
# Add PR merge ref to allowed branches since GitHub Actions runs PRs on refs/pull/*/merge
5251
OUTPUT=$(npx --package semantic-release@${{ env.SEMANTIC_RELEASE_VERSION }} \
5352
--package @semantic-release/exec \
5453
--package conventional-changelog-conventionalcommits \

0 commit comments

Comments
 (0)