Skip to content

Respect the NO_COLOR environment variable #15

Respect the NO_COLOR environment variable

Respect the NO_COLOR environment variable #15

Workflow file for this run

# Checks spelling with typos

Check failure on line 1 in .github/workflows/spellcheck.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/spellcheck.yml

Invalid workflow file

(Line: 15, Col: 7): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name, (Line: 15, Col: 7): Unexpected value '${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}'
# This has very few false positives, only checking for known misspellings (similar to codespell).
# This action is based on https://github.com/crate-ci/typos/blob/master/docs/github-action.md
name: Check Spelling
on: [push, pull_request]
env:
CLICOLOR: 1
permissions:
contents: read
jobs:
# Only run on PRs if the source branch is on someone else's repo
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
typos:
name: Check spelling with typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run typos (pinned version)
uses: crate-ci/[email protected]