Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #56 from rollkit/sevey/ci-release-fix
Browse files Browse the repository at this point in the history
ci: update release triggers
  • Loading branch information
MSevey committed Jan 12, 2024
2 parents 0795eba + 4eb2862 commit 401f8a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
- main
# Trigger on version tags
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+'
- 'v[0-9]+\.[0-9]+\.[0-9]+-rc(?:[0-9]+|\.[0-9]+)'
- "v*"
pull_request:
merge_group:
workflow_dispatch:
Expand Down Expand Up @@ -38,7 +37,9 @@ jobs:
release:
needs: [lint, test]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' }}
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && contains(github.ref, 'refs/tags/v'))
permissions: "write-all"
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 401f8a9

Please sign in to comment.