From 256a15de36885754da2a092f996d61e7e1132d11 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 19 Apr 2024 00:33:43 +0200 Subject: [PATCH] follow-ups --- .github/workflows/publish_canary.yml | 7 +++++++ .github/workflows/publish_release_driver.yml | 1 + 2 files changed, 8 insertions(+) diff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.yml index ce4ec7842c..d91d7708ab 100644 --- a/.github/workflows/publish_canary.yml +++ b/.github/workflows/publish_canary.yml @@ -19,8 +19,15 @@ jobs: permissions: contents: read id-token: write + environment: Release steps: - uses: actions/checkout@v4 + - name: Azure Login + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZURE_PW_CDN_CLIENT_ID }} + tenant-id: ${{ secrets.AZURE_PW_CDN_TENANT_ID }} + subscription-id: ${{ secrets.AZURE_PW_CDN_SUBSCRIPTION_ID }} - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/publish_release_driver.yml b/.github/workflows/publish_release_driver.yml index 07b002d4ab..3207aba9cd 100644 --- a/.github/workflows/publish_release_driver.yml +++ b/.github/workflows/publish_release_driver.yml @@ -15,6 +15,7 @@ jobs: id-token: write # This is required for OIDC login (azure/login) to succeed contents: read # This is required for actions/checkout to succeed if: github.repository == 'microsoft/playwright' + environment: Release steps: - uses: actions/checkout@v4 - name: Azure Login