From a8acaf0b28e9ca8182b50a44637cb1fe66799ec0 Mon Sep 17 00:00:00 2001 From: Louie Larson Date: Wed, 15 Jan 2025 10:32:53 -0500 Subject: [PATCH] Try using workflow token to work with release branch in assets-release (#3752) --- .github/workflows/assets-release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assets-release.yaml b/.github/workflows/assets-release.yaml index 6ea69cdf69..826ae4fb18 100644 --- a/.github/workflows/assets-release.yaml +++ b/.github/workflows/assets-release.yaml @@ -29,8 +29,8 @@ env: asset_config_filename: asset.yaml permissions: - # Required to clone repo - contents: read + # Required to clone repo and push commit to release branch + contents: write # Required for OIDC login to Azure id-token: write @@ -220,7 +220,6 @@ jobs: with: ref: release fetch-depth: 0 - token: ${{ secrets.AZUREML_BOT_PAT }} path: ${{ env.release_dir }} - name: Use Python 3.10 or newer