Skip to content

Commit 9d3f692

Browse files
committed
chore: don't release during PRs
1 parent ea0b9c7 commit 9d3f692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
release:
99
name: Release (${{ github.event.workflow_run.head_commit.id }})
10-
if: ${{ github.ref_name == 'main' && github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'Data-Only-Greater'}}
10+
if: ${{ github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'Data-Only-Greater'}}
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout

0 commit comments

Comments
 (0)