diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..b9efc0d80 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Restrict Test Environment Deployment Workflows to be Approved by Cloud Team +.github/workflows/test-env* @mirumee/saleor-cloud \ No newline at end of file diff --git a/.github/workflows/test-env-deploy.yml b/.github/workflows/test-env-deploy.yml index 911fdae7c..bd8552509 100644 --- a/.github/workflows/test-env-deploy.yml +++ b/.github/workflows/test-env-deploy.yml @@ -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