aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/command-pull-3rdparty.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/command-pull-3rdparty.yml')
-rw-r--r--.github/workflows/command-pull-3rdparty.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/command-pull-3rdparty.yml b/.github/workflows/command-pull-3rdparty.yml
index 06f6228fb56..5090193d424 100644
--- a/.github/workflows/command-pull-3rdparty.yml
+++ b/.github/workflows/command-pull-3rdparty.yml
@@ -27,6 +27,12 @@ jobs:
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
+ - name: Disabled on forks
+ if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
+ run: |
+ echo 'Can not execute /update-3rdparty on forks'
+ exit 1
+
- name: Init branch
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch