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