Skip to content

Commit 7dd0055

Browse files
authored
Update pr-tools.yml trigger to skip irrelevant changes (#4888)
The tools workflow was triggering on every PR event, including changes to markdown, CI YAML, and Docker files that can't affect tool compilation or behavior.
1 parent ed354cd commit 7dd0055

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/pr-tools.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Tools
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
paths:
7+
- '**'
8+
- '!**/*.md'
9+
- '!**/*.yml'
10+
- '!.dockerfiles/**'
11+
- '!.ci-dockerfiles/**'
12+
- '.github/workflows/pr-tools.yml'
413

514
concurrency:
615
group: pr-tools-${{ github.ref }}

0 commit comments

Comments
 (0)