From 813463264ddc74a355e94113bb066b70bf663216 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 23 Feb 2024 08:18:09 -0500 Subject: [PATCH] - adds token to step to avoid throttling --- .github/workflows/build-vscode-extension.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-vscode-extension.yml b/.github/workflows/build-vscode-extension.yml index 44ad4eb9c3..561362855d 100644 --- a/.github/workflows/build-vscode-extension.yml +++ b/.github/workflows/build-vscode-extension.yml @@ -6,6 +6,9 @@ on: branches: [main] pull_request: +permissions: + contents: read + jobs: build_extension: runs-on: ubuntu-latest @@ -20,6 +23,7 @@ jobs: owner: microsoft repo: kiota excludes: prerelease, draft + token: ${{ secrets.GITHUB_TOKEN }} - run: scripts/update-vscode-releases.ps1 -version "${{ steps.last_release.outputs.release }}" -filePath "./vscode/microsoft-kiota/package.json" -online shell: pwsh - name: Install dependencies