ci(typos): run on forks

This commit is contained in:
winston 2023-07-28 20:39:03 +02:00
parent 3711f311d6
commit 236caf379c
No known key found for this signature in database
GPG Key ID: 3786770EDBC2B481

View File

@ -19,7 +19,7 @@ jobs:
# 'continue-on-error' will always succeed, we should exit based on the outcome and not the conclusion
# ref: https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
- name: Fail When Typos Are Found in Pull Request
if: ${{ github.repository == 'catppuccin/userstyles' && github.event_name == 'pull_request' && steps.typos.outcome != 'success' }}
if: ${{ github.event_name == 'pull_request' && steps.typos.outcome != 'success' }}
run: "exit 1"
# We always want this check to pass on branch 'main' but continue to fail on PRs