Skip to content

Commit d9d805f

Browse files
committed
Workflows: revert file pattern change
... from PR 25 as it doesn't work as expected. It now expects **_all_** mentioned files to exist instead of just one of the files, which was the original - and intended - behaviour. Reverting back to the original pattern should fix this. Fixes #30
1 parent f1bf523 commit d9d805f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.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.yml, .markdownlint-cli2.yaml"
21+
files: ".markdownlint-cli2.y*ml"
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.dist, phpstan.neon"
32+
files: "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.yml, .yamllint.yaml"
27+
files: ".yamllint.y*ml"
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)