forked from backstage/backstage
-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (37 loc) · 1.07 KB
/
ci-noop.yml
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
# NO-OP placeholder that always passes for other paths
# This is here so that we're able to set the status check as required
name: CI Void
on:
pull_request:
paths:
- 'microsite/**'
- 'beps/**'
permissions:
contents: read
jobs:
# The verify jobs runs all the verification that doesn't require a
# diff towards master, since it takes some time to fetch that.
verify-noop:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
name: Verify ${{ matrix.node-version }}
steps:
# - name: Harden Runner
# uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
# with:
# egress-policy: audit
- run: echo NOOP
test-noop:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
name: Test ${{ matrix.node-version }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- run: echo NOOP