https://github.com/react-native-community/needs-attention
A GitHub Action for managing issues that require attention
https://github.com/react-native-community/needs-attention
Last synced: 4 months ago
JSON representation
A GitHub Action for managing issues that require attention
- Host: GitHub
- URL: https://github.com/react-native-community/needs-attention
- Owner: react-native-community
- License: mit
- Created: 2024-01-08T17:36:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T17:53:17.000Z (about 2 years ago)
- Last Synced: 2025-06-25T21:38:36.629Z (8 months ago)
- Language: JavaScript
- Size: 1.18 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Label Issues that Need Attention When Author Responds
_Forked from [hramos/needs-attention](https://github.com/hramos/needs-attention)_
Applies a label whenever the original author of an issue adds a comment to an issue that needed their response.
## How It Works
If the original author of an issue adds a comment on their issue, and that issue has a 'Needs Author Feedback' label, this action will remove the label and apply a 'Needs Attention' label.
## Inputs
### `response-required-label`
The name of the label that indicates an issue that needs a response from the author. Default `"Needs Author Feedback"`.
### `needs-attention-label`
The name of the label that indicates an issue that needs attention. Default `"Needs Attention"`.
### `repo-token`
**Required.** The `GITHUB_TOKEN` for the repository being acted on.
## Outputs
### `results`
A string description of any actions taken.
## Example usage
```
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@v3
- name: Apply Needs Attention Label
uses: react-native-community/needs-attention@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
```
Configuring labels:
```
uses: react-native-community/needs-attention@v2.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
response-required-label: 'Needs Author Feedback'
needs-attention-label: 'Needs Attention'
```