diff --git a/.github/workflows/update-PROD.yml b/.github/workflows/update-PROD.yml new file mode 100644 index 00000000..b6461cc9 --- /dev/null +++ b/.github/workflows/update-PROD.yml @@ -0,0 +1,21 @@ +name: Update PRODUCTION Branch +on: + workflow_dispatch: + +jobs: + update-production: + name: Rebase PRODUCTION to main + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Configure Git + run: | + git config user.name "GitHub Actions" + git config user.email "actions@github.com" + - name: Rebase PRODUCTION + run: | + git checkout PRODUCTION + git rebase origin/main + git push origin PRODUCTION --force