Browse Source

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

pull/41983/head
btea 2 years ago
committed by GitHub
parent
commit
8347c22d13
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/workflows/mock-project-build.yml
  2. 1
      .github/workflows/pr-check-ci.yml

1
.github/workflows/mock-project-build.yml

@ -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

@ -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…
Cancel
Save