forkしたリポジトリからのPRではCI Destroy preview environment が動作しないようにする (#9559)

This commit is contained in:
Masaya Suzuki 2023-01-14 20:10:09 +09:00 committed by GitHub
parent 73b62797cd
commit d61eee695f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ name: Destroy preview environment
jobs: jobs:
destroy-preview-environment: destroy-preview-environment:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == github.event.pull_request.head.repo.full_name
steps: steps:
- name: Context - name: Context
uses: okteto/context@latest uses: okteto/context@latest