diff --git a/.github/workflows/delete-redundant-deployments.yml b/.github/workflows/delete-redundant-deployments.yml index 2ba4797e..26c7f23b 100644 --- a/.github/workflows/delete-redundant-deployments.yml +++ b/.github/workflows/delete-redundant-deployments.yml @@ -10,7 +10,7 @@ on: jobs: delete: - if: ${{ github.actor != 'dependabot[bot]' }} + if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'dval-in/dval-in' }} permissions: contents: read deployments: write diff --git a/.github/workflows/deploy-to-cloudflare.yml b/.github/workflows/deploy-to-cloudflare.yml index 11a330c7..22ea047f 100644 --- a/.github/workflows/deploy-to-cloudflare.yml +++ b/.github/workflows/deploy-to-cloudflare.yml @@ -3,13 +3,13 @@ name: 'Deploy to Cloudflare' on: workflow_run: - workflows: [Check code quality] + workflows: [ Check code quality ] types: - completed jobs: on-success: - if: ${{ github.actor != 'dependabot[bot]' }} + if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'dval-in/dval-in' }} permissions: contents: read deployments: write