chore: ensure auto-approve-docs has a deep enough depth (#6484)

* chore: ensure auto-approve-docs has a deep enough depth

This was failing on numerous PRs.

* Remove check because it isn't working
This commit is contained in:
Kyle Carberry
2023-03-07 10:05:00 -06:00
committed by GitHub
parent 23bebb40e2
commit 4c204fc348
-14
View File
@@ -27,20 +27,6 @@ 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:
- uses: actions/checkout@v3
- 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