Sync master -> stage #32
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: | |
permissions: | |
# Needed to read branches. | |
contents: read | |
# Needed to create PR's. | |
pull-requests: write | |
jobs: | |
sync-branches: | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Opening pull request | |
id: pull | |
uses: jdtx0/[email protected] | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
FROM_BRANCH: "master" | |
TO_BRANCH: "stage" | |
LABELS: '["automerge"]' | |
PULL_REQUEST_AUTO_MERGE_METHOD: "merge" |