Skip to content

Commit

Permalink
chore: only attempt to run release workflow when merging PR (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Sep 23, 2024
1 parent f414bbd commit d609f64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ on:
# - premajor
pull_request:
types: [closed]
branches: [main]

jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit d609f64

Please sign in to comment.