Skip to content

Fa main

Fa main #121

name: Label Core Team PRs
on:
pull_request_target:
permissions: {}
env:
TZ: /usr/share/zoneinfo/America/Los_Angeles
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
jobs:
# Disabled in fork — reusable workflow from facebook/react is not accessible
# check_maintainer:

Check failure on line 15 in .github/workflows/label_core_team_prs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/label_core_team_prs.yml

Invalid workflow file

error parsing called workflow ".github/workflows/label_core_team_prs.yml" -> "facebook/react/.github/workflows/shared_check_maintainer.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
# uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main
# permissions:
# contents: read
# with:
# actor: ${{ github.event.pull_request.user.login }}
#
# label:
# if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
# runs-on: ubuntu-latest
# needs: check_maintainer
# permissions:
# issues: write
# pull-requests: write
# steps:
# - name: Label PR as React Core Team
# uses: actions/github-script@v7
# with:
# script: |
# github.rest.issues.addLabels({
# owner: context.repo.owner,
# repo: context.repo.repo,
# issue_number: ${{ github.event.number }},
# labels: ['React Core Team']
# });
noop:
runs-on: ubuntu-latest
steps:
- run: echo "No-op in fork"