mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: ignore optional headers in pr template check (#26910)
This commit is contained in:
parent
2c6d4f3fe1
commit
0581b49750
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check-pr-template.yml
vendored
2
.github/workflows/check-pr-template.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
OK=true
|
||||
while IFS= read -r header; do
|
||||
printf '%s\n' "$BODY" | grep -qF "$header" || OK=false
|
||||
done < <(grep "^## " .github/pull_request_template.md)
|
||||
done < <(sed '/<!--/,/-->/d' .github/pull_request_template.md | grep "^## ")
|
||||
echo "uses_template=$OK" >> "$GITHUB_OUTPUT"
|
||||
|
||||
act:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue