We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ce9a1c commit e9bd42cCopy full SHA for e9bd42c
.github/workflows/publish.yml
@@ -11,7 +11,7 @@ env:
11
jobs:
12
cargo-publish:
13
runs-on: ubuntu-latest
14
- if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event.workflow.name == 'Release') }}
+ if: ${{ !github.event.pull_request && (github.event.workflow_run.conclusion == 'success') && (github.event.workflow.name == 'Release') }}
15
steps:
16
- name: Print workflow event name
17
run: echo "${{ github.event.workflow.name }}"
0 commit comments