nearing completion of orion's sight story #7
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: Check opengraph description meta tags | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Markdown files missing opengraph description | |
run: | | |
files=($(find . -name '*.md' -not -path './.github/*' | xargs grep -L og:description)) | |
for f in ${files[@]}; do echo $f; done | |
exit ${#files[@]} |