Skip to content

chore: give pr pipeline release read permissions - #304929

Merged
Raymond Zhao (rzhao271) merged 1 commit into
mainfrom
rzhao271/steady-herring
Mar 25, 2026
Merged

Raymond Zhao (rzhao271) merged 1 commit into
mainfrom
rzhao271/steady-herring

Conversation

@rzhao271

Copy link
Copy Markdown
Collaborator

The core-ci task requires reading some companion extension releases. This PR modifies the permissions to allow the build to read those releases.

The core-ci task requires reading some companion extension releases. This PR modifies the permissions to allow the build to read those releases.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PR GitHub Actions workflow permissions so the core-ci step can read companion extension release metadata during PR validation.

Changes:

  • Replace permissions: {} with a minimal permissions: contents: read in the PR workflow.

@rzhao271
Raymond Zhao (rzhao271) enabled auto-merge (squash) March 25, 2026 22:56
@rzhao271
Raymond Zhao (rzhao271) merged commit c2e1f3b into main Mar 25, 2026
31 of 33 checks passed
@rzhao271
Raymond Zhao (rzhao271) deleted the rzhao271/steady-herring branch March 25, 2026 23:59
Michael Lively (Yoyokrazy) added a commit that referenced this pull request Apr 29, 2026
Follow-up to #313128. The VSCODE_OSS fallback isn't needed for the
api.github.com calls in core-ci — secrets.GITHUB_TOKEN already
authenticates those reads with permissions: contents: read (added in
#304929), so we don't hit the anonymous rate limit on 1ES.
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators May 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants