mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
chore: automatically approve Ben's docs PRs (#6444)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user