Skip to content

Commit

Permalink
Automerge staging into next
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Jul 19, 2024
1 parent abd0ae6 commit 5a86f59
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# this uses the action to merge special branches on push
# https://github.com/marketplace/actions/merge-branch
name: Merge protected branches

on:
workflow_dispatch:
push:
branches: [automerge_staging, staging]

jobs:
merge-staging-into-next:
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'staging' }}
steps:
- uses: actions/checkout@v4

- name: Merge staging into next
uses: devmasx/[email protected]
with:
type: now
target_branch: next
message: Merge staging into next
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5a86f59

Please sign in to comment.