mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 23:04:43 +08:00
* 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
35 lines
869 B
YAML
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"'
|