Skip to content

Commit

Permalink
Update release workflow to only run if targeting master and PR is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflester committed Dec 4, 2023
1 parent e877f4f commit 91bc861
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: Publish Release on Merge to Master

on:
pull_request:
branches:
- master
types:
- closed

jobs:
publish-release-draft:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
steps:
- name: Check out code
Expand Down

0 comments on commit 91bc861

Please sign in to comment.