2023-03-22 13:17:19 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-11-28 17:29:46 +00:00
|
|
|
name: Bot Auto Approve
|
|
|
|
|
|
|
|
on: pull_request_target
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
auto-approve:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: github.actor == 'hc-github-team-consul-core'
|
|
|
|
steps:
|
2023-07-19 23:56:50 +00:00
|
|
|
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
|
2022-11-28 17:29:46 +00:00
|
|
|
with:
|
|
|
|
review-message: "Auto approved Consul Bot automated PR"
|
|
|
|
github-token: ${{ secrets.MERGE_APPROVE_TOKEN }}
|