Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Commit 985cf8e

Browse files
authored
Rework auto-merge for Steward's PRs. (#337)
Signed-off-by: Ignacio Lucero <ignacio.lucero@moia.io>
1 parent c3b58b2 commit 985cf8e

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

.github/workflows/automatic-merge.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/scala-steward.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ jobs:
1515
with:
1616
app_id: 162267
1717
private_key: ${{ secrets.SCALA_STEWARD_APP_PRIVATE_KEY }}
18-
1918
- name: Launch Scala Steward
2019
uses: scala-steward-org/scala-steward-action@v2
2120
with:
2221
github-token: ${{ steps.generate-token.outputs.token }}
2322
author-name: scala-steward
2423
author-email: 162267+scala-steward-for-moia[bot]@users.noreply.github.com
24+
- name: Enable auto-merge
25+
run: gh pr merge --auto --squash "$PR_URL"
26+
env:
27+
PR_URL: ${{github.event.pull_request.html_url}}
28+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)