Skip to content

Commit

Permalink
Added github action to keep legacy master branch up to date with late…
Browse files Browse the repository at this point in the history
…st main
  • Loading branch information
giuliomoro committed Jan 31, 2025
1 parent 2af5a53 commit 0c660b1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main-to-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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 log -n1
git checkout master
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

0 comments on commit 0c660b1

Please sign in to comment.