mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
34 lines
863 B
YAML
34 lines
863 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:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/**'
|
|
- 'rfd/**'
|
|
- '**/*.md*'
|
|
merge_group:
|
|
paths:
|
|
- 'docs/**'
|
|
- 'rfd/**'
|
|
- '**/*.md*'
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint (Go)
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: none
|
|
|
|
steps:
|
|
- run: 'echo "No changes to verify"'
|