Skip to content

πŸ“¦ chore: 폰트 preload 적용 및 robots.txt μΆ”κ°€ #539

πŸ“¦ chore: 폰트 preload 적용 및 robots.txt μΆ”κ°€

πŸ“¦ chore: 폰트 preload 적용 및 robots.txt μΆ”κ°€ #539

Workflow file for this run

name: 'Lint PR'
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
main:
name: Title Check
runs-on: ubuntu-latest
steps:
- name: PR 타이틀 체크
run: |
title=$(jq -r .pull_request.title "$GITHUB_EVENT_PATH")
valid_types=("✨ feat: " "πŸš‘ fix: " "πŸ’„ design: " "πŸ“ style: " "πŸ”¨ refactor: " "πŸ’‘ comment: " "πŸ“š docs: " "βœ… test: " "πŸ“¦ chore: " "🚚 rename: " "βž– remove: " "πŸš€ deploy: " "πŸŽ‰ init: ")
regex="^($(IFS=\|; echo "${valid_types[*]}"))"
echo "PR 타이틀: $title"
echo "μœ νš¨ν•œ μ •κ·œμ‹: $regex"
if [[ ! $title =~ $regex ]]; then
echo "error: PR 타이틀은 λ‹€μŒ λ¬Έμžμ—΄μ€‘ ν•˜λ‚˜λ‘œ μ‹œμž‘ν•΄μ•Ό ν•΄μš”: ${valid_types[*]}"
exit 1
fi