Skip to content

Commit

Permalink
Merge pull request #4223 from microsoft/bugfix/github-api-throttling
Browse files Browse the repository at this point in the history
- passes the token to the release step so it doesn't get throttled
  • Loading branch information
baywet authored Feb 23, 2024
2 parents 4c938dd + 8134632 commit b3bd7a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
build_extension:
runs-on: ubuntu-latest
Expand All @@ -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
Expand Down

0 comments on commit b3bd7a0

Please sign in to comment.