Hi @vincent6767, Run unit tests every time a PR is created to staging #153#171
Hi @vincent6767, Run unit tests every time a PR is created to staging #153#171ahmad1368 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Hi @vincent6767, I have successfully created the GitHub Actions workflow to run the unit tests on every PR to staging for issue #153. However, to fully enforce this and ensure no one can merge failing or broken code, we need to configure a branch protection rule in the repository settings. Since I currently do not have access to the repository options (as shown in image_db0dbd.png), could you please either apply these settings or grant me Admin access so I can set it up myself? Here are the exact steps that need to be configured in the Settings tab: Go to Settings > Branches from the left sidebar. Under Branch protection rules, click on Add protection rule. In the Branch name pattern, type: staging. Check the box for "Require status checks to pass before merging". In the search box that appears under it, search for and select our test job name: test. Scroll down and click Create (or Save changes). Let me know how you prefer to handle this. Thanks! |
@ahmad1368 I don't have access to the settings as well. I'll ping Matt later to see if he is willing to grant us temporary admin access. |


Closes #153