Skip to content

Commit 2f17d00

Browse files
authored
add
1 parent b504b6e commit 2f17d00

1 file changed

Lines changed: 24 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ on:
66
jobs:
77
lint-and-test:
88
runs-on: ubuntu-latest
9+
permissions:
10+
id-token: write
911
steps:
10-
- name: Harden the runner (Audit all outbound calls)
11-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
12+
- name: Harden the runner
13+
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
1214
with:
13-
egress-policy: audit
15+
egress-policy: block
16+
policy: global-allowed-endpoints-policy
1417

1518
- name: Check out repository code
1619
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -45,11 +48,14 @@ jobs:
4548

4649
analyze-message-transmitter:
4750
runs-on: ubuntu-latest
51+
permissions:
52+
id-token: write
4853
steps:
49-
- name: Harden the runner (Audit all outbound calls)
50-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
54+
- name: Harden the runner
55+
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
5156
with:
52-
egress-policy: audit
57+
egress-policy: block
58+
policy: global-allowed-endpoints-policy
5359

5460
- name: Check out repository code
5561
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -66,11 +72,14 @@ jobs:
6672

6773
analyze-message-transmitter-v2:
6874
runs-on: ubuntu-latest
75+
permissions:
76+
id-token: write
6977
steps:
70-
- name: Harden the runner (Audit all outbound calls)
71-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
78+
- name: Harden the runner
79+
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
7280
with:
73-
egress-policy: audit
81+
egress-policy: block
82+
policy: global-allowed-endpoints-policy
7483

7584
- name: Check out repository code
7685
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -87,11 +96,14 @@ jobs:
8796

8897
analyze-token-messenger-minter:
8998
runs-on: ubuntu-latest
99+
permissions:
100+
id-token: write
90101
steps:
91-
- name: Harden the runner (Audit all outbound calls)
92-
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
102+
- name: Harden the runner
103+
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
93104
with:
94-
egress-policy: audit
105+
egress-policy: block
106+
policy: global-allowed-endpoints-policy
95107

96108
- name: Check out repository code
97109
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0

0 commit comments

Comments
 (0)