Skip to content

Commit 32b9944

Browse files
committed
Reusable workflows: make the accepted config file names more explicit
1 parent 14bc218 commit 32b9944

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/reusable-markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
id: has_config
1919
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
2020
with:
21-
files: ".markdownlint-cli2.y*ml"
21+
files: ".markdownlint-cli2.yml, .markdownlint-cli2.yaml"
2222

2323
# @link https://github.com/marketplace/actions/problem-matcher-for-markdownlint-cli
2424
- name: Enable showing issue in PRs

.github/workflows/reusable-phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: has_config
3030
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
3131
with:
32-
files: "phpstan.neon*"
32+
files: "phpstan.neon.dist, phpstan.neon"
3333

3434
- name: Create tools string
3535
id: tools

.github/workflows/reusable-yamllint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: has_config
2525
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
2626
with:
27-
files: ".yamllint.y*ml"
27+
files: ".yamllint.yml, .yamllint.yaml"
2828

2929
- name: Run Yamllint on all yaml files in repo
3030
if: ${{ steps.has_config.outputs.files_exists == 'true' }}

0 commit comments

Comments
 (0)