-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The basic test workflow is skipped for changes only in the docs directory. Because this workflow is required, basic_test_skipped.yaml is added to run in its absence and provide a successful completion.
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 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
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,19 @@ | ||
# Copyright (c) 2021-2022 Chris Reed | ||
|
||
# pyocd workflow to fill in for the skipped 'basic test' workflow for docs updates. Without this, | ||
# the required 'basic test' workflow will not have run and therefore docs PRs won't be mergeable. | ||
# | ||
# See this documentation for more about the need for this workaround: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | ||
|
||
name: basic test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "Skipped due to path filter."' |