Skip to content

Commit 7f345c2

Browse files
ci: don't syntax-check ID reservations
1 parent 6e71bd5 commit 7f345c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/check-advisories.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
# Remove the begining of the README to extract the example.
4848
(echo '```toml'; sed -e '1,/```toml/d' README.md) > EXAMPLE_README.md
4949
while read FILE ; do
50+
[ "$(dirname "$FILE")" != advisories/reserved ] || continue
5051
echo -n "$FILE: "
5152
docker run --rm -v $PWD:/repo --workdir /repo haskell/hsec-tools:latest /bin/hsec-tools check "$FILE" || RESULT=1
5253
done < <([ ${#CHANGED_ADVISORIES[@]} -gt 0 ] && printf "%s\n" "${CHANGED_ADVISORIES[@]}" || find advisories EXAMPLE_README.md EXAMPLE_ADVISORY.md -type f -name "*.md")

0 commit comments

Comments
 (0)