Skip to content

Commit 2dc9508

Browse files
committed
[IDP-3236] Use IDP managed secrets solution for CI and publish workflows
1 parent e7d451f commit 2dc9508

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ concurrency:
1414
group: ${{ github.workflow }}-${{github.event_name}}-${{ github.head_ref || github.ref_name }}
1515
cancel-in-progress: true
1616

17+
# We are using OpenID Connect to authenticate with Azure with secret.
18+
# https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure
19+
permissions:
20+
id-token: write
21+
contents: read
22+
1723
jobs:
1824
ci:
1925
strategy:
@@ -67,3 +73,5 @@ jobs:
6773

6874

6975

76+
77+

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches: ["main"]
66
tags: ["*.*.*"]
77

8+
# We are using OpenID Connect to authenticate with Azure with secret.
9+
# https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-azure
10+
permissions:
11+
id-token: write
12+
contents: read
13+
814
jobs:
915
main:
1016
runs-on: [self-hosted, idp]
@@ -48,3 +54,4 @@ jobs:
4854

4955

5056

57+

0 commit comments

Comments
 (0)