Skip to content

patch PR 4 of week ending 8/27/24 #200

patch PR 4 of week ending 8/27/24

patch PR 4 of week ending 8/27/24 #200

name: PRs to main
on:
pull_request:
branches: [main]
types: [closed]
jobs:
rebase-main-back-to-staging:
if: github.event.pull_request.merged == true
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Git config
run: |
git config --local user.email "[email protected]"
git config --local user.name "Github Actions"
- name: Rebase main back to staging
run: |
git status
git fetch --unshallow
git switch staging
git pull
git rebase main
git push