Skip to content

Conversation

ChrisCarini
Copy link
Member

Summary

This PR adds a GitHub Actions workflow to automatically request Copilot code reviews for pull requests in linkedin/Liger-Kernel.

Changes

  • Added .github/workflows/automatically-request-copilot-review.yaml
  • The workflow will automatically request Copilot reviews on all PRs

⚠️ ⚠️ ⚠️ ACTION REQUIRED ⚠️ ⚠️ ⚠️

You still need to create a GitHub Personal Access Token (PAT) and add it to the repository secrets for this GitHub repository!

  1. Click here to create a classic GitHub PAT with the correct scopes (repo)
  2. You will need to set a repository secret named GH_TOKEN_COPILOT_REVIEW for all the desired repositories
  3. Once the secret named GH_TOKEN_COPILOT_REVIEW is added, please merge in the PR after getting the necessary approval(s).

How it works

When a pull request is opened or updated in the linkedin/Liger-Kernel product, this workflow will:

  1. Checkout the repository
  2. Automatically request a Copilot review using the configured token
    • Note: Whoever created the PAT will show up as the one requesting the review from Copilot.

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.

1 participant