Skip to content

Commit

Permalink
ci(release): amend workflow to reflect master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored Jan 23, 2023
1 parent ad73a6a commit 2a1e7c9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Release
on:
workflow_dispatch:
branches:
- master
- cha0rn/openapi-3-1-support

workflow_run:
workflows:
- "Node.js CI"
Expand All @@ -16,7 +11,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.head_branch === 'cha0rn/openapi-3-1-support' || (github.event.workflow_run.head_branch === 'master' && github.event.workflow_run.conclusion == 'success') }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 2a1e7c9

Please sign in to comment.