Sync master -> stage #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync master -> stage | |
on: | |
workflow_dispatch: | |
jobs: | |
sync-branches: | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Opening pull request | |
id: pull | |
# We need main for PULL_REQUEST_AUTO_MERGE_METHOD, which is currently not yet released. | |
uses: tretuna/sync-branches@main | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
FROM_BRANCH: "master" | |
TO_BRANCH: "stage" | |
PULL_REQUEST_AUTO_MERGE_METHOD: merge |