From 1cb91ff927196030f5c7f4a6a4507a22fb16b2ce Mon Sep 17 00:00:00 2001 From: Louie Larson Date: Wed, 15 Jan 2025 11:45:05 -0500 Subject: [PATCH] Remove use of PAT --- .github/workflows/assets-docs.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assets-docs.yaml b/.github/workflows/assets-docs.yaml index 6952161765..7a05f69929 100644 --- a/.github/workflows/assets-docs.yaml +++ b/.github/workflows/assets-docs.yaml @@ -22,8 +22,8 @@ env: docs_dir: docs permissions: - # Required to clone repo - contents: read + # Required to clone repo and push commits to the wiki repo + contents: write defaults: run: @@ -54,7 +54,6 @@ jobs: with: repository: Azure/azureml-assets.wiki fetch-depth: 0 - token: ${{ secrets.AZUREML_BOT_PAT }} path: ${{ env.wiki_dir }} - name: Use Python 3.10 or newer