Merge pull request #799 from get-itips/autoupdater #358
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 | |
#run only if a push is agaisnt dev | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
sync-branches: | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Opening pull request | |
id: pull | |
uses: tretuna/[email protected] | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
FROM_BRANCH: "dev" | |
TO_BRANCH: "main" |