Skip to content

Commit dffac54

Browse files
Copilotstnguyen90
andcommitted
Move setup steps to copilot-setup-steps.yml
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
1 parent bbed718 commit dffac54

File tree

3 files changed

+22
-27
lines changed

3 files changed

+22
-27
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Copilot Setup Steps
2+
3+
on: []
4+
5+
jobs:
6+
copilot-setup-steps:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Harden Runner
10+
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
11+
with:
12+
egress-policy: audit
13+
allowed-endpoints: >
14+
api.github.com:443
15+
github.com:443
16+
nodejs.org:443
17+
objects.githubusercontent.com:443
18+
pkg.pr.new:443
19+
pkg.vc:443
20+
playwright.azureedge.net:443
21+
registry.npmjs.org:443
22+
releases.githubusercontent.com:443

.github/workflows/e2e.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,6 @@ jobs:
1111
e2e:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Harden Runner
15-
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
16-
with:
17-
egress-policy: audit
18-
allowed-endpoints: >
19-
api.github.com:443
20-
github.com:443
21-
nodejs.org:443
22-
objects.githubusercontent.com:443
23-
pkg.pr.new:443
24-
pkg.vc:443
25-
playwright.azureedge.net:443
26-
registry.npmjs.org:443
27-
releases.githubusercontent.com:443
2814
- uses: actions/checkout@v4
2915
- name: Use Node.js
3016
uses: actions/setup-node@v3

.github/workflows/tests.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Harden Runner
18-
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
19-
with:
20-
egress-policy: audit
21-
allowed-endpoints: >
22-
api.github.com:443
23-
github.com:443
24-
nodejs.org:443
25-
objects.githubusercontent.com:443
26-
pkg.pr.new:443
27-
pkg.vc:443
28-
registry.npmjs.org:443
29-
releases.githubusercontent.com:443
3017
- uses: actions/checkout@v4
3118
- name: Use Node.js
3219
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)