trying with pat #3
Workflow file for this run
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: Synchronize branches | |
on: | |
push: | |
branches: | |
- github | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Push github branch to main | |
uses: codingforentrepreneurs/action-branch-to-branch@main | |
with: | |
dest_branch: 'main' | |
source_branch: 'github' | |
commit_message: 'Update main branch' | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT }} # Required |