Skip to content

Commit ade9a2b

Browse files
authored
Merge branch 'main' into pip-keyring
2 parents 8d2f856 + a93b3f9 commit ade9a2b

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/auth.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test with auth
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request_target:
8+
branches:
9+
- 'main'
10+
11+
jobs:
12+
test:
13+
name: Test with auth
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: read
18+
id-token: write # Needed for auth
19+
20+
steps:
21+
- name: Harden the runner (Audit all outbound calls)
22+
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
23+
with:
24+
egress-policy: audit
25+
26+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
27+
- uses: ./
28+
with:
29+
identity: ce2d1984a010471142503340d670612d63ffb9f6/d05d31ba65ec54d1
30+
- run: chainctl auth status

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
branches:
99
- 'main'
1010

11+
permissions: {}
12+
1113
jobs:
1214
test:
1315
name: Basic Test
@@ -23,6 +25,9 @@ jobs:
2325
- windows-latest
2426
runs-on: ${{ matrix.os }}
2527

28+
permissions:
29+
contents: read
30+
2631
steps:
2732
- name: Harden the runner (Audit all outbound calls)
2833
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2

0 commit comments

Comments
 (0)