Skip to content

Commit

Permalink
Merge pull request #47 from adobecom/stage
Browse files Browse the repository at this point in the history
[Release] Stage to Main
  • Loading branch information
meganthecoder committed Apr 16, 2024
2 parents 341b17a + 812c52a commit bba99ff
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/auto-merge-main-to-stage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: PRs to main
on:
pull_request:
branches: [main]
types: [closed]
jobs:
merge-main-to-stage:
if: github.event.pull_request.merged == true
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Git config
run: |
git config user.email "[email protected]"
git config user.name "github-actions"
- name: Merge main to stage
run: |
git fetch
git checkout stage
git pull
git merge --no-ff main -m "Auto-merge main to stage"
git push

0 comments on commit bba99ff

Please sign in to comment.