Merge pull request #22 from yubiuser/development #9
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 Back to Development | |
on: | |
push: | |
branches: | |
- main | |
permissions: {} | |
jobs: | |
sync-branches: | |
# The job needs to be able to pull the code and create a pull request. | |
permissions: | |
contents: read # for actions/checkout | |
pull-requests: write # to create pull request | |
runs-on: ubuntu-latest | |
name: Syncing branches | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Opening pull request | |
run: gh pr create -B development -H main --title 'Sync main back into development' --body 'Created by Github action' --label 'internal' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |