Skip to content

Commit

Permalink
Use continue-on-error to control check SKIPs
Browse files Browse the repository at this point in the history
  • Loading branch information
cl8n committed Aug 12, 2024
1 parent a708491 commit 42056f4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ jobs:
run: xargs -0r meta/check-file-sizes.sh <"$CHANGED_FILES"

- name: run remark on changed files
if: ${{ !cancelled() && steps.detect-changed-files.outcome == 'success' && !contains(github.event.pull_request.body, 'SKIP_REMARK') }}
if: ${{ !cancelled() && steps.detect-changed-files.outcome == 'success' }}
continue-on-error: ${{ contains(github.event.pull_request.body, 'SKIP_REMARK') }}
run: |
grep -z '\.md$' <"$CHANGED_FILES" | \
REPORTER=vfile-reporter-github-action xargs -0r meta/remark.sh
Expand All @@ -76,9 +77,11 @@ jobs:
run: osu-wiki-tools check-yaml

- name: find broken wikilinks
if: ${{ !cancelled() && steps.detect-changed-files.outcome == 'success' && !contains(github.event.pull_request.body, 'SKIP_WIKILINK_CHECK') }}
if: ${{ !cancelled() && steps.detect-changed-files.outcome == 'success' }}
continue-on-error: ${{ contains(github.event.pull_request.body, 'SKIP_WIKILINK_CHECK') }}
run: osu-wiki-tools check-links --all

- name: check if translations are marked as outdated
if: ${{ !cancelled() && steps.detect-changed-files.outcome == 'success' && !contains(github.event.pull_request.body, 'SKIP_OUTDATED_CHECK') }}
if: ${{ !cancelled() && steps.detect-changed-files.outcome == 'success' }}
continue-on-error: ${{ contains(github.event.pull_request.body, 'SKIP_OUTDATED_CHECK') }}
run: osu-wiki-tools check-outdated-articles --no-recommend-autofix

0 comments on commit 42056f4

Please sign in to comment.