hello #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: Push to Main | |
on: | |
push: | |
branches: | |
- github | |
jobs: | |
push_to_main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Fetch main branch | |
run: git fetch origin main | |
- name: Merge changes into main | |
run: | | |
git checkout main | |
git merge --no-ff ${{ github.ref }} | |
- name: Push changes to main | |
run: git push origin main | |