|
11 | 11 | SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1 |
12 | 12 |
|
13 | 13 | jobs: |
14 | | - check_maintainer: |
15 | | - uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main |
16 | | - permissions: |
17 | | - # Used by check_maintainer |
18 | | - contents: read |
19 | | - with: |
20 | | - actor: ${{ github.event.pull_request.user.login }} |
21 | | - |
22 | | - label: |
23 | | - if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} |
| 14 | + # Disabled in fork — reusable workflow from facebook/react is not accessible |
| 15 | + # check_maintainer: |
| 16 | + # uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main |
| 17 | + # permissions: |
| 18 | + # contents: read |
| 19 | + # with: |
| 20 | + # actor: ${{ github.event.pull_request.user.login }} |
| 21 | + # |
| 22 | + # label: |
| 23 | + # if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} |
| 24 | + # runs-on: ubuntu-latest |
| 25 | + # needs: check_maintainer |
| 26 | + # permissions: |
| 27 | + # issues: write |
| 28 | + # pull-requests: write |
| 29 | + # steps: |
| 30 | + # - name: Label PR as React Core Team |
| 31 | + # uses: actions/github-script@v7 |
| 32 | + # with: |
| 33 | + # script: | |
| 34 | + # github.rest.issues.addLabels({ |
| 35 | + # owner: context.repo.owner, |
| 36 | + # repo: context.repo.repo, |
| 37 | + # issue_number: ${{ github.event.number }}, |
| 38 | + # labels: ['React Core Team'] |
| 39 | + # }); |
| 40 | + noop: |
24 | 41 | runs-on: ubuntu-latest |
25 | | - needs: check_maintainer |
26 | | - permissions: |
27 | | - # Used to add labels on issues |
28 | | - issues: write |
29 | | - # Used to add labels on PRs |
30 | | - pull-requests: write |
31 | 42 | steps: |
32 | | - - name: Label PR as React Core Team |
33 | | - uses: actions/github-script@v7 |
34 | | - with: |
35 | | - script: | |
36 | | - github.rest.issues.addLabels({ |
37 | | - owner: context.repo.owner, |
38 | | - repo: context.repo.repo, |
39 | | - issue_number: ${{ github.event.number }}, |
40 | | - labels: ['React Core Team'] |
41 | | - }); |
| 43 | + - run: echo "No-op in fork" |
0 commit comments