Add codeowners and conditions for deployment workflows

This commit is contained in:
Cezary Miącz 2020-07-08 21:30:09 +02:00
parent 89065cce41
commit bf96ed060f
2 changed files with 3 additions and 0 deletions

2
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1,2 @@
# Restrict Test Environment Deployment Workflows to be Approved by Cloud Team
.github/workflows/test-env* @mirumee/saleor-cloud

View file

@ -9,6 +9,7 @@ on:
jobs:
deploy:
if: github.event.pull_request.head.repo.full_name == 'mirumee/saleor-dashboard'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2