Skip to content

Commit

Permalink
ci: release only on master or workflow_dispatch (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl authored Oct 24, 2024
1 parent d81dfda commit e70141a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- master
- beta
release:
types: [created]
types:
- created
pull_request:
branches:
- master
- beta
workflow_dispatch: {}

permissions: read-all

Expand Down Expand Up @@ -171,6 +173,7 @@ jobs:

release:
uses: miracum/.github/.github/workflows/standard-release.yaml@26fdadd65c14ba321e4c3a167f86df9b41b3e813 # v1.12.6
if: ${{ github.ref_name == 'master' || github.event_name == 'workflow_dispatch' }}
needs:
- lint
- build
Expand Down

0 comments on commit e70141a

Please sign in to comment.