mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-23 23:06:24 +00:00
Add label-actions workflow
This workflow allows GitHub to automatically act on issue in response to labels being added to the issue.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Configuration for Label Actions - https://github.com/marketplace/actions/label-actions
|
||||
|
||||
"needs: issue template":
|
||||
comment: >
|
||||
<strong>:warning: This issue is missing required fields</strong>. To avoid this issue being closed, please provide the required information as described in the <a href="https://github.com/necolas/react-native-web/blob/master/.github/ISSUE_TEMPLATE/bug.md">ISSUE TEMPLATE</a>.
|
||||
|
||||
"resolution: no response":
|
||||
comment: >
|
||||
This issue is being closed because the requested information has not been provided.
|
||||
close: true
|
||||
@@ -0,0 +1,16 @@
|
||||
name: labels
|
||||
|
||||
# This workflow is triggered when a label is added to an issue.
|
||||
on:
|
||||
issues:
|
||||
types: labeled
|
||||
|
||||
jobs:
|
||||
label-actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: hramos/label-actions@v1
|
||||
with:
|
||||
configuration-path: .github/labels-config.yml
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user