Files
teleport/.github/workflows/doc-tests-bypass.yaml
T
Steven Martin 1f01bc3a4b add bypasses for lint go and lint docs (#22299)
* Adds bypass for lint go for RFD and Docs changes.

* spacing

* Update docs test to only check for docs, examples changes or bypass

* include merge groups

* test docs change

* remove change

* Test go change

* remove go test change

* test doc changes

* remove docs test change

* fix indentation

* fix indentation
2023-03-14 19:22:13 +00:00

34 lines
871 B
YAML

# This workflow is required to ensure that required Github check passes even if
# the actual "Lint (Docs)" workflow skipped due to path filtering. Otherwise
# it will stay forever pending.
#
# See "Handling skipped but required checks" for more info:
#
# 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
#
# Note both workflows must have the same name.
name: Lint (Docs)
run-name: Lint (Docs)
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'examples/**'
merge_group:
paths-ignore:
- 'docs/**'
- 'examples/**'
jobs:
lint:
name: Lint (Docs)
runs-on: ubuntu-latest
permissions:
contents: none
steps:
- run: 'echo "No changes to verify"'