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 8a81789 commit e9948e5Copy full SHA for e9948e5
.github/workflows/release-preview.yaml
@@ -41,14 +41,13 @@ jobs:
41
unset GITHUB_REF_NAME
42
unset GITHUB_HEAD_REF
43
unset GITHUB_BASE_REF
44
- unset GITHUB_EVENT_NAME
45
46
# Set them to what we want
47
export GITHUB_REF="refs/heads/${{ github.event.pull_request.head.ref }}"
48
export GITHUB_REF_NAME="${{ github.event.pull_request.head.ref }}"
49
- export GITHUB_EVENT_NAME="push"
50
51
# Run semantic-release with inline configuration using CLI options
+ # Add PR merge ref to allowed branches since GitHub Actions runs PRs on refs/pull/*/merge
52
OUTPUT=$(npx --package semantic-release@${{ env.SEMANTIC_RELEASE_VERSION }} \
53
--package @semantic-release/exec \
54
--package conventional-changelog-conventionalcommits \
0 commit comments