check-non-standard-chars.yml

Detect curly quotes and en/em dashes in .qmd and .R files, which can break Quarto and R rendering. The check fails when it finds any, reporting each file:line:col so you can fix it.

Inputs

Input Type Default Description
python-version string '3.x' Python version to set up.

Permissions

Only contents: read (the default), so no permissions: block is needed.

Example

name: Check non-standard characters
on:
  push: { branches: [main] }
  pull_request:
  workflow_dispatch:
jobs:
  check:
    uses: Morrison-Lab/gha/.github/workflows/check-non-standard-chars.yml@v2

See examples/check-non-standard-chars.yml for the full caller stub.