ci(typos): run on forks
This commit is contained in:
parent
3711f311d6
commit
236caf379c
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user