Skip to content

Commit

Permalink
ci: sync v1 also if semantic-release is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
jojomatik committed Mar 7, 2022
1 parent fb0e0b8 commit 9b8cf46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ jobs:
git_committer_email: ${{ secrets.BUMP_GIT_EMAIL }}
github_token: ${{ secrets.GH_TOKEN }}
sync_main_to_v1:
if: ${{ startsWith(github.ref, 'refs/tags/v1') && !contains(github.ref, 'beta') }}
if: |
always() &&
(needs.semantic-release.result == 'success' || needs.semantic-release.result == 'skipped') &&
${{ startsWith(github.ref, 'refs/tags/v1') && !contains(github.ref, 'beta') }}
name: Sync branch `main` to `v1` (fast-forward enabled)
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 9b8cf46

Please sign in to comment.