fix: only call cleanup when the pr is from same repo (#8799)

This commit is contained in:
Lifei Zhou
2026-04-24 22:32:47 +10:00
committed by GitHub
parent e2bcea206b
commit c9cfd2c35e
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
cleanup:
runs-on: ubuntu-latest
needs: deploy
if: github.event.action == 'closed'
if: github.event.action == 'closed' && github.event.pull_request.head.repo.full_name == 'aaif-goose/goose'
permissions:
contents: write
steps: