diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 6af131b9f5b5..d2c508fc226d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -25,7 +25,7 @@ body: id: react-native-info attributes: label: Output of `react-native info` - description: Run `react-native info` in your terminal and copy the results here. + description: Run `react-native info` in your terminal, copy and paste the results here. validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/release_blocker_form.yml b/.github/ISSUE_TEMPLATE/release_blocker_form.yml index 82e40388dd17..b8c35d75e6d3 100644 --- a/.github/ISSUE_TEMPLATE/release_blocker_form.yml +++ b/.github/ISSUE_TEMPLATE/release_blocker_form.yml @@ -23,10 +23,10 @@ body: validations: required: true - type: textarea - id: environment + id: react-native-info attributes: - label: Developer Environment - description: Please list relevant versions of system, tooling. Ex. OS, processor, Xcode, etc. + label: Output of `react-native info` + description: Run `react-native info` in your terminal, copy and paste the results here. validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/upgrade-regression-form.yml b/.github/ISSUE_TEMPLATE/upgrade-regression-form.yml index 985ec047e811..7e4fd8066c74 100644 --- a/.github/ISSUE_TEMPLATE/upgrade-regression-form.yml +++ b/.github/ISSUE_TEMPLATE/upgrade-regression-form.yml @@ -31,10 +31,10 @@ body: validations: required: true - type: textarea - id: environment + id: react-native-info attributes: - label: Developer Environment - description: Please list relevant versions of system, tooling. Ex. OS, processor, Xcode, etc. + label: Output of `react-native info` + description: Run `react-native info` in your terminal, copy and paste the results here. validations: required: true - type: textarea diff --git a/.github/workflows/apply-version-label-issue.yml b/.github/workflows/apply-version-label-issue.yml new file mode 100644 index 000000000000..c9ae9364b64f --- /dev/null +++ b/.github/workflows/apply-version-label-issue.yml @@ -0,0 +1,16 @@ +name: Apply version label to issue + +on: + issues: + types: [opened, edited] + +jobs: + add-version-label-issue: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - uses: lucasbento/core-workflow-apply-version-label@v0.0.4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/create-new-tag-version-label.yml b/.github/workflows/create-new-tag-version-label.yml new file mode 100644 index 000000000000..00373c857172 --- /dev/null +++ b/.github/workflows/create-new-tag-version-label.yml @@ -0,0 +1,18 @@ +name: Create new tag as version label + +on: + release: + types: + - created + - edited + +jobs: + add-new-tag-version-label: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - uses: lucasbento/core-workflow-create-version-label@v0.0.1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}