diff options
Diffstat (limited to '.github/workflows/update-psalm-baseline-approve-merge.yml')
-rw-r--r-- | .github/workflows/update-psalm-baseline-approve-merge.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/update-psalm-baseline-approve-merge.yml b/.github/workflows/update-psalm-baseline-approve-merge.yml index 5042c9de161..980e0f78d8c 100644 --- a/.github/workflows/update-psalm-baseline-approve-merge.yml +++ b/.github/workflows/update-psalm-baseline-approve-merge.yml @@ -27,6 +27,12 @@ jobs: contents: write steps: + - name: Disabled on forks + if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + run: | + echo 'Can not approve PRs from forks' + exit 1 + - uses: mdecoleman/pr-branch-name@bab4c71506bcd299fb350af63bb8e53f2940a599 # v2.0.0 id: branchname with: |