chore: automatically approve Ben's docs PRs (#6444)

This commit is contained in:
Ammar Bandukwala
2023-03-04 08:07:45 -06:00
committed by GitHub
parent 573a8d5717
commit 02f0968b33
+14 -1
View File
@@ -19,7 +19,7 @@ concurrency: pr-${{ github.ref }}
jobs:
# Dependabot is annoying, but this makes it a bit less so.
auto-approve:
auto-approve-dependabot:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target'
permissions:
@@ -27,6 +27,19 @@ jobs:
steps:
- uses: hmarr/auto-approve-action@v3
if: github.actor == 'dependabot[bot]'
auto-approve-docs:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target'
permissions:
pull-requests: write
steps:
- name: Get changed files in the docs folder
id: changed-files
uses: tj-actions/changed-files@v35
with:
files: docs/*
- uses: hmarr/auto-approve-action@v3
if: github.actor == 'bpmct' && steps.changed-files.outputs.only_changed == 'true'
cla:
runs-on: ubuntu-latest