File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,27 @@ concurrency: pr-${{ github.ref }}
19
19
20
20
jobs :
21
21
# Dependabot is annoying, but this makes it a bit less so.
22
- auto-approve :
22
+ auto-approve-dependabot :
23
23
runs-on : ubuntu-latest
24
24
if : github.event_name == 'pull_request_target'
25
25
permissions :
26
26
pull-requests : write
27
27
steps :
28
28
- uses : hmarr/auto-approve-action@v3
29
29
if : github.actor == 'dependabot[bot]'
30
+ auto-approve-docs :
31
+ runs-on : ubuntu-latest
32
+ if : github.event_name == 'pull_request_target'
33
+ permissions :
34
+ pull-requests : write
35
+ steps :
36
+ - name : Get changed files in the docs folder
37
+ id : changed-files
38
+ uses : tj-actions/changed-files@v35
39
+ with :
40
+ files : docs/*
41
+ - uses : hmarr/auto-approve-action@v3
42
+ if : github.actor == 'bpmct' && steps.changed-files.outputs.only_changed == 'true'
30
43
31
44
cla :
32
45
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments