I've fixed the following things in the repo for you:
Updated the deployment pipelines to target the production environment.
Added a CODEOWNERS file that protects the catalog, frontend and ordering folders.
Made sure to add the CODEOWNERS file to the protected files list.
Not everthing can be done through a pull request, so I've also included 3 scripts you can run from your codespace to finish the setup. You can find them in the .github/ directory.
After merging, check out the main branch, pull the latest changes and run these scripts from the terminal:
git switch main
git pull origin main
cd .github
pwsh fix.ps1
You will be asked to authenticate to GitHub to temporarily grant your codespace repository admin permissions, so it can change the repository settings.
I've fixed the following things in the repo for you:
production
environment.CODEOWNERS
file that protects thecatalog
,frontend
andordering
folders.CODEOWNERS
file to the protected files list.Not everthing can be done through a pull request, so I've also included 3 scripts you can run from your codespace to finish the setup. You can find them in the
.github/
directory.After merging, check out the main branch, pull the latest changes and run these scripts from the terminal:
You will be asked to authenticate to GitHub to temporarily grant your codespace repository admin permissions, so it can change the repository settings.