This repository was archived by the owner on Oct 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1+ name : Scala Steward automatic merge
2+ on : pull_request
3+
4+ permissions :
5+ contents : write
6+ pull-requests : write
7+
8+ jobs :
9+ scala-steward-auto-merge :
10+ runs-on : ubuntu-latest
11+ if : ${{ github.actor == 'scala-steward-for-moia[bot]' }}
12+ steps :
13+ - name : Enable auto-merge for Scala Steward PRs
14+ run : gh pr merge --auto --squash "$PR_URL"
15+ env :
16+ PR_URL : ${{github.event.pull_request.html_url}}
17+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -15,14 +15,10 @@ jobs:
1515 with :
1616 app_id : 162267
1717 private_key : ${{ secrets.SCALA_STEWARD_APP_PRIVATE_KEY }}
18+
1819 - name : Launch Scala Steward
1920 uses : scala-steward-org/scala-steward-action@v2
2021 with :
2122 github-token : ${{ steps.generate-token.outputs.token }}
2223 author-name : scala-steward
2324 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}}
You can’t perform that action at this time.
0 commit comments