Files
teleport/.github/workflows/lint-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

35 lines
869 B
YAML

# This workflow is required to ensure that required check passes even if
# the actual "Lint (Go)" workflow is skipped due to path filtering.
# Otherwise it will stay pending forever.
#
# 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 (Go)
run-name: make lint
on:
push:
branches:
- master
pull_request:
paths:
- 'docs/**'
- 'rfd/**'
merge_group:
paths:
- 'docs/**'
- 'rfd/**'
jobs:
lint:
name: Lint (Go)
runs-on: ubuntu-latest
permissions:
contents: none
steps:
- run: 'echo "No changes to verify"'