mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable 'Needs Attention' action (#28338)
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5e472b314b
commit
2ef9200a4d
@@ -1,12 +0,0 @@
|
||||
# Configuration for probot-no-response - https://github.com/probot/no-response
|
||||
|
||||
# Number of days of inactivity before an Issue is closed for lack of response
|
||||
daysUntilClose: 21
|
||||
# Label requiring a response
|
||||
responseRequiredLabel: "Needs: Author Feedback"
|
||||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
|
||||
closeComment: >
|
||||
It's been three weeks since we asked for additional information from the
|
||||
author of this issue. As it happens, we don't have enough information to
|
||||
take action. We are going to close this issue, but please do not hesitate
|
||||
to open a new issue if you are still encountering this problem.
|
||||
@@ -0,0 +1,21 @@
|
||||
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 }}'
|
||||
Reference in New Issue
Block a user