Skip to content

Migrate locker and info-needed-closer workflows to vscode-azuretools reusable templates#4932

Merged
bwateratmsft merged 2 commits intomainfrom
copilot/update-github-actions-workflows
Mar 17, 2026
Merged

Migrate locker and info-needed-closer workflows to vscode-azuretools reusable templates#4932
bwateratmsft merged 2 commits intomainfrom
copilot/update-github-actions-workflows

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 17, 2026

Replaces the inline workflow implementations (which checked out vscode-github-triage-actions and ran custom bot scripts) with calls to the centralized reusable templates in microsoft/vscode-azuretools.

Changes

  • locker.yml: Delegates to microsoft/vscode-azuretools/.github/workflows/locker.yml@main; adds permissions: issues: write
  • info-needed-closer.yml: Delegates to microsoft/vscode-azuretools/.github/workflows/info-needed-closer.yml@main; adds permissions: issues: write, contents: read

The reusable templates use actions/github-script with the built-in GITHUB_TOKEN, so the old AZURETOOLS_VSCODE_BOT_* secrets are no longer needed. Default values from the upstream templates are used without override.

Original prompt

Please update the "locker" and "needs-more-info-closer" GitHub Actions workflows to use the reusable templates at https://github.com/microsoft/vscode-azuretools/blob/main/.github/workflows/info-needed-closer.yml and https://github.com/microsoft/vscode-azuretools/blob/main/.github/workflows/locker.yml. If the action does not appear to exist, do not create it. If neither action exists, do nothing. If you end up making changes, please create a pull request.

The default values defined in the reusable templates are fine and do not need to be overridden in these calling workflows.

The needs-more-info workflow requires issues: write and contents: read permissions. The locker workflow requires only issues: write permission.

Copilot Code Review may indicate that you should not use the main branch as the source, instead pinning to a specific commit--please disregard that and use main.

Use this PR as a reference for how to do it correctly: microsoft/vscode-containers#420


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…tes from vscode-azuretools

Co-authored-by: bwateratmsft <36966225+bwateratmsft@users.noreply.github.com>
Copilot AI changed the title [WIP] Update locker and needs-more-info-closer workflows to use reusable templates Migrate locker and info-needed-closer workflows to vscode-azuretools reusable templates Mar 17, 2026
Copilot AI requested a review from bwateratmsft March 17, 2026 15:56
@bwateratmsft bwateratmsft marked this pull request as ready for review March 17, 2026 18:12
@bwateratmsft bwateratmsft requested a review from a team as a code owner March 17, 2026 18:12
Copilot AI review requested due to automatic review settings March 17, 2026 18:12
@bwateratmsft bwateratmsft enabled auto-merge (squash) March 17, 2026 18:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Migrates the “locker” and “info-needed-closer” GitHub Actions workflows from inline action execution to centralized reusable workflow templates in microsoft/vscode-azuretools.

Changes:

  • Updated locker.yml to call the upstream reusable locker workflow and set issues: write permission.
  • Updated info-needed-closer.yml to call the upstream reusable info-needed-closer workflow and set issues: write / contents: read permissions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/locker.yml Replaces local steps with a reusable workflow invocation; adds required issues permissions.
.github/workflows/info-needed-closer.yml Replaces local steps with a reusable workflow invocation; adds required issues/contents permissions.

You can also share your feedback on Copilot code review. Take the survey.

@bwateratmsft bwateratmsft merged commit 5210333 into main Mar 17, 2026
6 checks passed
@bwateratmsft bwateratmsft deleted the copilot/update-github-actions-workflows branch March 17, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants