forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (44 loc) · 1.39 KB
/
unit-tests-integrations-bypass.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This workflow is required to ensure that required Github check passes even if
# the actual "Unit Tests (Integrations)" 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 (Integrations)
run-name: Skip Unit Tests (Integrations) - ${{ github.run_id }} - @${{ github.actor }}
on:
pull_request:
paths-ignore:
- '/go.mod'
- '/go.sum'
- 'integrations/**'
- 'api/types/**'
- 'gen/**'
- 'lib/tbot/**'
- 'Makefile'
- '.github/workflows/unit-tests-integrations.yaml'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
merge_group:
paths-ignore:
- '/go.mod'
- '/go.sum'
- 'integrations/**'
- 'api/types/**'
- 'gen/**'
- 'lib/tbot/**'
- 'Makefile'
- '.github/workflows/unit-tests-integrations.yaml'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
jobs:
test:
name: Unit Tests (Integrations)
runs-on: ubuntu-latest
permissions:
contents: none
steps:
- run: 'echo "No changes to verify"'