Next astro #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Episode Files | |
on: | |
pull_request: | |
paths: | |
- "episodes/**" | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- "episodes/**" | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 📦 Setup Node + PNPM + install deps | |
uses: ./.github/actions/setup-node-pnpm-install | |
- name: 🚑 Run Validate Episode Markdown | |
run: | | |
chmod +x .github/scripts/validate-episode-markdown.sh | |
.github/scripts/validate-episode-markdown.sh | |
- name: Add doctor report as comment on PR | |
if: github.event_name == 'pull_request' && always() | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
header: episode-validation | |
path: .astro/episode-validation.md |