-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: Empty Checkers when only having Doc changes.
Signed-off-by: xuezhaojun <zxue@redhat.com>
- Loading branch information
1 parent
6f21760
commit 8dbc95e
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# The following workflow is to handle skipped but required jobs when only documentations is changed. | ||
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/troubleshooting-required-status-checks#handling-skipped-but-required-checks | ||
name: DOC-ONLY | ||
on: | ||
workflow_dispatch: {} | ||
pull_request: | ||
paths: | ||
- 'solutions/**' | ||
- 'assets/**' | ||
- 'troubleshooting/**' | ||
- ".github/ISSUE_TEMPLATE/*" | ||
branches: | ||
- main | ||
|
||
jobs: | ||
verify: | ||
name: verify | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Not required"' | ||
verify-deps: | ||
name: verify-deps | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Not required"' | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Not required"' | ||
unit: | ||
name: unit | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Not required"' | ||
integration: | ||
name: integration | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Not required"' | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Not required"' |