mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 03:29:43 +00:00
[OSS] chore(ci): add auto-approve workflow for consul bot (#15533)
This commit is contained in:
parent
1a68dfc668
commit
f9dc083b6d
13
.github/workflows/bot-auto-approve.yaml
vendored
Normal file
13
.github/workflows/bot-auto-approve.yaml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
name: Bot Auto Approve
|
||||
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
auto-approve:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor == 'hc-github-team-consul-core'
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@v3
|
||||
with:
|
||||
review-message: "Auto approved Consul Bot automated PR"
|
||||
github-token: ${{ secrets.MERGE_APPROVE_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user