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 1153948 commit b43f6adCopy full SHA for b43f6ad
.github/workflows/release.yml
@@ -14,7 +14,7 @@ jobs:
14
uses: "OpenTermsArchive/engine/.github/workflows/test.yml@main"
15
release:
16
needs: [ changelog, test ]
17
- if: needs.changelog.outputs.release-type != 'no-release'
+ if: github.event.pull_request.merged == true && needs.changelog.outputs.release-type != 'no-release'
18
runs-on: ubuntu-latest
19
steps:
20
- name: Checkout
@@ -73,7 +73,7 @@ jobs:
73
client-payload: '{"version": "v${{ steps.release-changelog.outputs.version }}"}'
74
75
clean_changelog:
76
- if: needs.changelog.outputs.release-type == 'no-release'
+ if: github.event.pull_request.merged == true && needs.changelog.outputs.release-type == 'no-release'
77
needs: [ changelog ]
78
79
0 commit comments