mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2ef9200a4d
Summary: The ['Needs Attention'](https://github.com/hramos/needs-attention) action will remove the "Needs: Author Feedback" label and replace it with "Needs: Attention" whenever the original author of an issue adds a comment. Removes the `no-response` GitHub integration. The 'close after 21 days' functionality from `no-response` is not present in the 'Needs Attention' action. We'll need to add this back some other way. Considering we were not closing issues that were in the Needs Response state until recently, I think it's OK to proceed here. ## Changelog [Internal] [CI] - Enable 'Needs Attention' action Pull Request resolved: https://github.com/facebook/react-native/pull/28338 Test Plan: https://github.com/hramos/needs-attention/issues/1 Reviewed By: cpojer Differential Revision: D20506380 Pulled By: hramos fbshipit-source-id: a5a0a7fc330821b7c51aabc0905f520d5caa829a
22 lines
632 B
YAML
22 lines
632 B
YAML
name: Issue Needs Attention
|
|
# This workflow is triggered on issue comments.
|
|
on:
|
|
issue_comment:
|
|
types: created
|
|
|
|
jobs:
|
|
applyNeedsAttentionLabel:
|
|
name: Apply Needs Attention Label
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Apply Needs Attention Label
|
|
uses: hramos/needs-attention@v1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
response-required-label: "Needs: Author Feedback"
|
|
needs-attention-label: "Needs: Attention"
|
|
id: needs-attention
|
|
- name: Result
|
|
run: echo '${{ steps.needs-attention.outputs.result }}'
|