Skip to content

Commit 5ba5c3c

Browse files
authored
GH-49671: [CI][Docs] Don't run jobs for push by Dependabot (#49672)
### Rationale for this change We don't need to run the docs jobs for push by Dependabot because we can run them for PR by Dependabot. ### What changes are included in this PR? Add `on.push.branches` and `on.push.tags` to disable jobs for push by Dependabot. ### Are these changes tested? No. But this will work because other workflows use this. ### Are there any user-facing changes? No. * GitHub Issue: #49671 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent da6870d commit 5ba5c3c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,17 @@
1818
name: Docs
1919

2020
on:
21+
push:
22+
branches:
23+
- '**'
24+
- '!dependabot/**'
25+
tags:
26+
- '**'
2127
pull_request:
2228
paths:
2329
- '.github/workflows/docs.yml'
2430
- 'cpp/apidoc/**'
2531
- 'docs/**'
26-
push:
2732

2833
permissions:
2934
contents: read

0 commit comments

Comments
 (0)