Skip to content

Commit c0afec4

Browse files
committed
test auto approve
1 parent 0a864b6 commit c0afec4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/autoapprove.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Auto approve
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
pullRequestNumber:
7+
description: Pull request number to auto-approve
8+
required: true
9+
pull_request_target:
10+
11+
jobs:
12+
auto-approve:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
pull-requests: write
16+
steps:
17+
- uses: hmarr/auto-approve-action@v2
18+
if: github.actor == 'scala-steward' && github.event.label.name == 'auto-merge'
19+
with:
20+
github-token: ${{secrets.TANISHIKING_GH_TOKEN_FOR_TEST}}
21+
pull-request-number: ${{ github.event.inputs.pullRequestNumber }}

0 commit comments

Comments
 (0)