Skip to content

Commit dd68cdb

Browse files
committed
ci: tweak workflow triggers
1 parent 4bff79a commit dd68cdb

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

.github/workflows/publish.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@
22
name: Release
33

44
on:
5+
pull_request:
6+
paths-ignore:
7+
- "**.md"
8+
- ".github/workflows/*"
9+
- "!.github/workflows/publish.yml"
510
push:
11+
paths-ignore:
12+
- "**.md"
13+
- ".github/workflows/*"
14+
- "!.github/workflows/publish.yml"
615
branches-ignore:
7-
# don't double-build dependabot PRs
8-
- dependabot/**
9-
tags: ["**"]
10-
pull_request:
16+
- "dependabot/**"
17+
- "pre-commit-ci-update-config"
18+
tags:
19+
- "**"
1120
workflow_dispatch:
1221

1322
jobs:

.github/workflows/test.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,21 @@
88
name: Test
99

1010
on:
11+
pull_request:
12+
paths-ignore:
13+
- "**.md"
14+
- ".github/workflows/*"
15+
- "!.github/workflows/publish.yml"
1116
push:
17+
paths-ignore:
18+
- "**.md"
19+
- ".github/workflows/*"
20+
- "!.github/workflows/publish.yml"
1221
branches-ignore:
13-
# don't double-build dependabot PRs
14-
- dependabot/**
15-
tags: ["**"]
16-
pull_request:
22+
- "dependabot/**"
23+
- "pre-commit-ci-update-config"
24+
tags:
25+
- "**"
1726
workflow_dispatch:
1827

1928
jobs:

0 commit comments

Comments
 (0)