Skip to content

Commit

Permalink
chore: add auto-merge in sync (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
stehessel authored Feb 21, 2024
1 parent 4324b8c commit f1742d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/sync-prod-from-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
uses: actions/checkout@v4
- name: Opening pull request
id: pull
uses: tretuna/[email protected]
# We need main for PULL_REQUEST_AUTO_MERGE_METHOD, which is currently not yet released.
uses: tretuna/sync-branches@main
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
FROM_BRANCH: "stage"
TO_BRANCH: "production"
PULL_REQUEST_AUTO_MERGE_METHOD: merge
4 changes: 3 additions & 1 deletion .github/workflows/sync-stage-from-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
uses: actions/checkout@v4
- name: Opening pull request
id: pull
uses: tretuna/[email protected]
# We need main for PULL_REQUEST_AUTO_MERGE_METHOD, which is currently not yet released.
uses: tretuna/sync-branches@main
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
FROM_BRANCH: "master"
TO_BRANCH: "stage"
PULL_REQUEST_AUTO_MERGE_METHOD: merge

0 comments on commit f1742d9

Please sign in to comment.