Skip to content

Commit

Permalink
Add: Empty Checkers when only having Doc changes.
Browse files Browse the repository at this point in the history
Signed-off-by: xuezhaojun <zxue@redhat.com>
  • Loading branch information
xuezhaojun committed Jun 7, 2023
1 parent 6f21760 commit 8dbc95e
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/doc-only.yml
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"'

0 comments on commit 8dbc95e

Please sign in to comment.