mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 05:39:38 +03:00
fix: ignore optional headers in pr template check (#26910)
This commit is contained in:
2
.github/workflows/check-pr-template.yml
vendored
2
.github/workflows/check-pr-template.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
OK=true
|
OK=true
|
||||||
while IFS= read -r header; do
|
while IFS= read -r header; do
|
||||||
printf '%s\n' "$BODY" | grep -qF "$header" || OK=false
|
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"
|
echo "uses_template=$OK" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
act:
|
act:
|
||||||
|
|||||||
Reference in New Issue
Block a user