Sync with react.dev @ fc296034 #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label Core Team PRs | ||
on: | ||
pull_request_target: | ||
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: | ||
check_maintainer: | ||
uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main | ||
with: | ||
actor: ${{ github.event.pull_request.user.login }} | ||
is_remote: true | ||
Check failure on line 16 in .github/workflows/label_core_team_prs.yml
|
||
label: | ||
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} | ||
runs-on: ubuntu-latest | ||
needs: check_maintainer | ||
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'] | ||
}); |