mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Add workflow to automatically label issues with the `Type: Upgrade Issue` label as `Version: XX` using [actions-apply-version-label](https://github.com/marketplace/actions/apply-version-label-to-issue-with-specific-label) github action. Closes https://github.com/facebook/react-native/issues/32691 ## Changelog [Internal] [Added] - Add github action to apply version label to pre-release issues Pull Request resolved: https://github.com/facebook/react-native/pull/32957 Test Plan: As I don't have admin rights to this repo I merged these same changes in my fork (https://github.com/gabrieldonadel/react-native/pull/3) and tested this action by opening [an issue](https://github.com/gabrieldonadel/react-native/issues/5) tagged as `pre-release` https://user-images.githubusercontent.com/11707729/150696182-82381f86-78af-4ba0-a94c-e5780ee54316.mov ## Next steps Transfer [core-workflow-apply-version-label](https://github.com/gabrieldonadel/core-workflow-apply-version-label) to [react-native-community](https://github.com/react-native-community) Reviewed By: lunaleaps Differential Revision: D33744979 Pulled By: cortinico fbshipit-source-id: c917b62d3aa561d779d6e2c94a7af69cd462b60e
17 lines
357 B
YAML
17 lines
357 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: gabrieldonadel/actions-apply-version-label@v0.0.2
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
required-label: "Type: Upgrade Issue"
|