From the course: Build AI-Enhanced CI/CD Pipelines: Automate Code Reviews, PR Summaries & GitHub Issues with Copilot & Claude

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Challenge: Set up automated code review workflow

Challenge: Set up automated code review workflow

(upbeat electronic music) - [Instructor] Now that we have GitHub Copilot set up in our VS Code, we are able to interact with it. And now that we also have the GitHub Copilot instructions file, it's a good time to automate our PR opening and review workflow process. So here's the challenge. We want to create the GitHub Action file to run the test that does not exist in the repository yet. So whenever we are checking in our code in the feature branch, and when we open up the pull request, there are no tests that are running. There are tests that we explicitly have to run, but we want to run the test when we open up the pull request, and which is why we need GitHub Actions file. Second, we need to enable GitHub Copilot code review so that every time a pull request is open, GitHub Copilot is always the first one to review those pull requests based on the Copilot instruction guidelines. And third, we want to open up the…

Contents