fix: incorrect renaming of matched references in non-segmented mode #60
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 Branches | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
sync-branches: | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
if: "contains(github.event.head_commit.message, 'chore(main):')" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 12 | |
- name: Opening pull request | |
id: pull | |
uses: tretuna/sync-branches@1.4.0 | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
FROM_BRANCH: "main" | |
TO_BRANCH: "dev" | |
PULL_REQUEST_TITLE: "chore: sync main to dev" |