Skip to content

Commit

Permalink
Create a new workflow to keep main and latest in sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
arriolac committed Jan 24, 2024
1 parent 3451c76 commit 1ace631
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/sync_main_latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync main and latest
on:
push:
branches:
- main

jobs:
sync-branches:
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
with:
GITHUB_TOKEN: ${{secrets.PAT}}
FROM_BRANCH: "main"
TO_BRANCH: "latest"

0 comments on commit 1ace631

Please sign in to comment.