Skip to content

Add copilot-setup-steps #1089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025
Merged

Conversation

andrewbranch
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 6, 2025 21:12
Copy link
Contributor

@Copilot 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

This PR introduces a new GitHub Actions workflow file that defines setup steps for Copilot.

  • Added a workflow triggered by workflow_dispatch.
  • Defined a job named "copilot-setup-steps" with minimal permissions and necessary steps for checking out code, setting up Node, Rust, and Go, and installing npm dependencies.

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
submodules: true
submodules: true
filter: blob:none
fetch-depth: 0

I was going to suggest this but https://github.com/actions/checkout/blob/09d2acae674a48949e3602304ab46fd20ae0c42f/src/git-command-manager.ts#L57 implies that filters are not passed down, only the fetch depth :(

Copy link
Member Author

Choose a reason for hiding this comment

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

Since I've been giving it web access to PRs/patches, I don't think it uses the submodule at all, so we could probably remove this. But the shallow clone is pretty fast.

@andrewbranch andrewbranch added this pull request to the merge queue Jun 6, 2025
Merged via the queue into microsoft:main with commit cc2af8f Jun 6, 2025
23 checks passed
@andrewbranch andrewbranch deleted the copilot-setup branch June 6, 2025 22:43
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.

None yet

2 participants