test42 #41
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: Sync v.next with main | |
on: | |
push: | |
branches: | |
- wbohr/sync-vnext-and-main-workflow | |
jobs: | |
sync_branches: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Open PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
run: | | |
gh pr create \ | |
--title "[Automated] Sync v.next with main" \ | |
--body "This PR was automaticaly opened to update v.next with the latest changes from main." \ | |
--head "main" \ | |
--base "v.next" | |
echo "Pull request created." |