--- title: "Validate Code" chapter: true weight: 3 --- ## Use CI/CD Workflow for Code Validation In this video, we will walk through - creating a good pull request - using a SlimCI job to validate your code - merging code into your production git branch - deploying the code to Redshift
*Summary of this video:* 1. Commit any code that you might not have since the previous video. 2. Click on `Open Pull Request` 3. Fill out the Pull Request Template to the best of your abilities. 4. Click on `Create Pull Request` 5. Wait for the dbt Cloud CI/CD job to kick off and complete. 6. Click into the specific run and explore the run steps. 7. After getting a successful run, merge in the code and delete your branch. 8. Go into dbt Cloud and kick off your Production job. ## Helpful Tips - Always let your CI/CD job run to completion. This is because dbt Cloud creates a temporary schema to build into for the run. Once the job is complete, dbt Cloud will then drop the temporary schema which will help maintain your clean database.