Skip to content

Commit

Permalink
chore(skip-action): implement sync action [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Nov 15, 2024
1 parent fef57b8 commit 51f41ac
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: '!contains(github.event.head_commit.message, ''[skip ci]'')'
outputs:
release_type: ${{ steps.get_release_type.outputs.release_type }}
tag_name: ${{ steps.get_tag_name.outputs.tag_name }}
Expand Down Expand Up @@ -90,4 +91,22 @@ jobs:
dependentProjectBranch: ${{ matrix.branch }}
libraryName: ${{ env.LIBRARY_NAME }}
githubToken: ${{ secrets.GH_PAT }}
releaseType: ${{ needs.release.outputs.release_type }}

create-sync-prs:
name: Create sync PRs
needs: release
if: github.ref == 'refs/heads/v2'
runs-on: ubuntu-latest
strategy:
matrix:
target: ['alpha', 'v2-develop']
steps:
- name: Call create sync pr
uses: gisce/[email protected]
with:
repository: ${{ env.LIBRARY_NAME }}
targetBranch: ${{ matrix.target }}
baseBranch: v2
githubToken: ${{ secrets.GH_PAT }}
releaseType: ${{ needs.release.outputs.release_type }}

0 comments on commit 51f41ac

Please sign in to comment.