chore: prevent ci from running on fork (#41980)

This commit is contained in:
btea 2023-04-25 11:17:51 +08:00 committed by GitHub
parent b27c000d13
commit 8347c22d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ concurrency:
jobs:
pr-check-ci:
if: github.repository == 'ant-design/ant-design'
runs-on: ubuntu-latest
name: Build Project
steps:

View File

@ -10,6 +10,7 @@ permissions:
jobs:
pr-check-ci:
if: github.repository == 'ant-design/ant-design'
permissions:
checks: read # for actions-cool/check-pr-ci to get check reference
contents: write # for actions-cool/check-pr-ci to merge PRs