Files
teleport/.github/workflows/unit-tests-operator-bypass.yaml
T
Hugo Shaka 9e1f53d33a Move operator into integrations/ (#22618)
* Move operator into `integrations/`

* fixup! Move operator into `integrations/`

* fixup! fixup! Move operator into `integrations/`

* fixup! fixup! fixup! Move operator into `integrations/`

* fixup! fixup! fixup! fixup! Move operator into `integrations/`
2023-03-06 17:59:02 +00:00

44 lines
1.2 KiB
YAML

# This workflow is required to ensure that required Github check passes even if
# the actual "Unit Tests (Operator)" 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: Unit Tests (Operator)
run-name: Skip Unit Tests (Operator) - ${{ github.run_id }} - @${{ github.actor }}
on:
pull_request:
paths-ignore:
- '/go.mod'
- '/go.sum'
- 'integrations/operator/**'
- 'api/types/**'
- 'lib/tbot/**'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
merge_group:
paths-ignore:
- '/go.mod'
- '/go.sum'
- 'integrations/operator/**'
- 'api/types/**'
- 'lib/tbot/**'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
jobs:
test:
name: Unit Tests (Operator)
runs-on: ubuntu-latest
permissions:
contents: none
steps:
- run: 'echo "No changes to verify"'