Skip to content

Commit 14406cf

Browse files
committed
Test a new action that checks if all patterns are listed in the main README
1 parent d806b98 commit 14406cf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Are all patterns shown somewhere in the main overview (README)?
2+
name: Overview Complete
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
linkChecker:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Get changed files
21+
id: changed-files
22+
uses: tj-actions/changed-files@v47
23+
24+
- name: Filter markdown files only
25+
run: |
26+
md_files=`find ${{ steps.changed-files.outputs.all_changed_files }} -maxdepth 0 -name "*.md" | tr '\n' ' '`
27+
echo "MARKDOWN_FILES=$md_files" >> $GITHUB_ENV
28+

0 commit comments

Comments
 (0)