ci(typos): run on forks

This commit is contained in:
winston committed 2023-07-28 20:39:03 +02:00
1 parent 3711f311d6
commit 236caf379c
1 file changed
+1 -1
+1 -1
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