mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f7a66e6291
Summary: This PR bumps the `actions-apply-version-label` version to 0.0.3 in order to fix an issue where we were throwing an error when the identified label does not exist, instead we should just report a warning. This also updates `apply-version-label-issue.yml` to use `actions-apply-version-label` from `react-native-community` as it has been recently transferred to the community ## Changelog [Internal] [Fixed] - Fix `actions-apply-version-label` error when version label is missing Pull Request resolved: https://github.com/facebook/react-native/pull/32979 Test Plan: Open an issue with a missing version label and ran the new action version https://github.com/gabrieldonadel/actions-apply-version-label/actions/runs/1756805059 Reviewed By: ShikaSD Differential Revision: D33819052 Pulled By: cortinico fbshipit-source-id: 49c719e729e3085e78b1c43143c2d41a03e797e4
17 lines
365 B
YAML
17 lines
365 B
YAML
name: Apply version label to issue
|
|
|
|
on:
|
|
issues:
|
|
types: [opened, edited]
|
|
|
|
jobs:
|
|
add-version-label-issue:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
|
|
steps:
|
|
- uses: react-native-community/actions-apply-version-label@v0.0.3
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
required-label: "Type: Upgrade Issue"
|