Update README.md #5
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: Update Migration Branch | |
on: | |
pull_request: | |
types: | |
- closed | |
permissions: | |
contents: write | |
jobs: | |
sync: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Git User | |
run: | | |
git config user.name "GitHub Action" | |
git config user.email "<EMAIL>" | |
- name: Update Migration Branch | |
run: | | |
git checkout chore/github-action-main | |
git fetch origin | |
git checkout chore/github-action-mig | |
git pull | |
git merge origin/chore/github-action-main | |
git push origin chore/github-action-mig |