Skip to content

Commit

Permalink
update publish checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nolancon committed May 24, 2024
1 parent cbf3f60 commit 5a5d95a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- release-*
pull_request:
types: [closed]
branches:
- main
workflow_dispatch: {}

Expand All @@ -32,7 +29,7 @@ jobs:
if: >
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release-')) ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'candidate-'))
(github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'Set release candidate version'))
runs-on: ubuntu-22.04

Expand Down

0 comments on commit 5a5d95a

Please sign in to comment.