Added github action to keep legacy master branch up to date with late… #11
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: Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update-legacy-master: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Push | |
run: | | |
git pull | |
git branch | |
git checkout master | |
git log -n1 master | |
git log -n1 main | |
git branch -vv | |
git merge --ff main | |
git push origin | |
#uses: ad-m/github-push-action@master | |
#with: | |
#github_token: ${{ secrets.GITHUB_TOKEN }} | |
#force_with_lease: true | |
#branch: master |