Don't run branch deletion on fork PRs.

This commit is contained in:
Adnan Khan
2024-08-29 10:55:10 -04:00
committed by GitHub
parent 838459171b
commit a319718898
@@ -10,6 +10,7 @@ on:
jobs:
delete-staging-and-head-branches:
if: ${{ !github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2