Don't run on fork PRs

This commit is contained in:
huchenlei 2025-01-08 18:01:34 -05:00
parent 40485a8f91
commit 6c16e0f852

View File

@ -10,6 +10,8 @@ on:
jobs: jobs:
update-version: update-version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Don't run on fork PRs
if: github.event.pull_request.head.repo.full_name == github.repository
permissions: permissions:
pull-requests: write pull-requests: write
contents: write contents: write