mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user