Skip to content

Commit 56c1da0

Browse files
authored
Run all workflows when pyproject.toml or poetry.lock changes (#4538)
1 parent 676f7c3 commit 56c1da0

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
paths:
1818
- '.github/workflows/codeql-analysis.yml'
1919
- 'scripts/*.py'
20+
- 'pyproject.toml'
21+
- 'poetry.lock'
2022
- 'archive/c/c/*.c'
2123
- 'archive/c/c-plus-plus/*.cpp'
2224
- 'archive/c/c-sharp/*.cs'
@@ -34,6 +36,8 @@ on:
3436
paths:
3537
- '.github/workflows/codeql-analysis.yml'
3638
- 'scripts/*.py'
39+
- 'pyproject.toml'
40+
- 'poetry.lock'
3741
- 'archive/c/c/*.c'
3842
- 'archive/c/c-plus-plus/*.cpp'
3943
- 'archive/c/c-sharp/*.cs'

.github/workflows/readme.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- 'archive/**'
1111
- '.glotter.yml'
1212
- '.github/workflows/readme.yml'
13+
- 'pyproject.toml'
14+
- 'poetry.lock'
1315

1416
jobs:
1517
readme:

.github/workflows/test-suite.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- 'archive/**'
1010
- '.glotter.yml'
1111
- '.github/workflows/test-suite.yml'
12+
- 'pyproject.toml'
13+
- 'poetry.lock'
1214
- 'scripts/run_tests.py'
1315
- '!**/*.md'
1416
pull_request:
@@ -41,6 +43,8 @@ jobs:
4143
archive/**
4244
.glotter.yml
4345
.github/workflows/test-suite.yml
46+
pyproject.toml
47+
poetry.lock
4448
scripts/run_tests.py
4549
files_ignore: |
4650
**/*.md

scripts/get_codeql_languages.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class LanguageInfo:
3636
".github/workflows/codeql-analysis.yml",
3737
"scripts/get_codeql_languages.py",
3838
"scripts/build_codeql_language.py",
39+
"pyproject.toml",
40+
"poetry.lock",
3941
}
4042

4143

0 commit comments

Comments
 (0)