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 3b1d8c9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main-to-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 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 3b1d8c9

Please sign in to comment.