Skip to content

Commit

Permalink
chore: don't release during PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed May 16, 2024
1 parent ea0b9c7 commit 9d3f692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
release:
name: Release (${{ github.event.workflow_run.head_commit.id }})
if: ${{ github.ref_name == 'main' && github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'Data-Only-Greater'}}
if: ${{ github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'Data-Only-Greater'}}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 9d3f692

Please sign in to comment.