Skip to content

Commit

Permalink
Merge pull request #3 from mixxxdj/sync-branches
Browse files Browse the repository at this point in the history
ci(actions): Add various fixes/improvements to the sync branches bot
  • Loading branch information
Holzhaus authored Oct 14, 2024
2 parents 9f64299 + 8abffe0 commit 32c3724
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/sync_branches.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: Sync Branches
on:
push:
- "2.4"
- "2.5"
branches:
- "2.4"
- "2.5"
workflow_dispatch:

jobs:
sync-branches:
strategy:
matrix:
include:
- from_branch: 2.4
to_branch: 2.5
- from_branch: 2.5
to_branch: main
- from_branch: "2.4"
to_branch: "2.5"
- from_branch: "2.5"
to_branch: "main"
runs-on: ubuntu-latest
if: ${{ github.ref_name == matrix.to_branch }}
if: ${{ github.event_name == "workflow_dispatch" || github.ref_name == matrix.to_branch }}
steps:
- name: Merge ${{ matrix.from_branch }} into ${{ matrix.to_branch }}
uses: tretuna/[email protected]
Expand Down

0 comments on commit 32c3724

Please sign in to comment.