Skip to content

Commit

Permalink
Try using workflow token to work with release branch in assets-release (
Browse files Browse the repository at this point in the history
  • Loading branch information
elesel authored Jan 15, 2025
1 parent c4d033d commit a8acaf0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/assets-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a8acaf0

Please sign in to comment.