diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index e00c49aa..d1cf7c50 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -20,7 +20,7 @@ concurrency: jobs: Authorize: - environment: ${{ github.event_name == 'pull_request_target' && + environment: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }} runs-on: ubuntu-latest