-
Notifications
You must be signed in to change notification settings - Fork 29
59 lines (47 loc) · 1.6 KB
/
e2e-shim.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
50
51
52
53
54
55
56
57
58
59
# Catch all the things we ignore in the e2e workflow
name: e2e Skip Shim
on:
pull_request:
paths:
# Catch updates to the .github directory, unless it is the e2e.yaml files
- ".github/**"
- "!.github/workflows/e2e.yaml"
# Catch docs and website things
- "**.md"
- "adr/**"
- "docs/**"
- "website/**"
- "netlify.toml"
# Catch generic github metadata files
- "CODEOWNERS"
- ".gitignore"
- "LICENSE"
- ".pre-commit-config.yaml"
# Catch pytests
- "tests/pytest/**"
# Catch LFAI-UI things
- "src/leapfrogai_ui/**"
- "packages/ui/**"
# Catch changes to the repeater model
- "packages/repeater/**"
permissions:
contents: read
# This is here to act as a shim for branch protection rules to work correctly.
# This is ugly but this seems to be the best way to do this since:
# - Job names in a workflow must be unique
# - When paths are ignored not all jobs are reported to the branch protection rules
# - Multiple jobs of the same name are still required by branch protection rules
# For more info see below:
# https://github.com/orgs/community/discussions/54877
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
# Abort prior jobs in the same workflow / PR
concurrency:
group: e2e-skip-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Skipped
run: |
echo skipped