mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: prevent ci from running on fork (#41980)
This commit is contained in:
parent
b27c000d13
commit
8347c22d13
1
.github/workflows/mock-project-build.yml
vendored
1
.github/workflows/mock-project-build.yml
vendored
@ -13,6 +13,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
pr-check-ci:
|
||||
if: github.repository == 'ant-design/ant-design'
|
||||
runs-on: ubuntu-latest
|
||||
name: Build Project
|
||||
steps:
|
||||
|
1
.github/workflows/pr-check-ci.yml
vendored
1
.github/workflows/pr-check-ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user