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:
Nicolas Gallagher
2021-02-01 16:08:49 -08:00
parent 3e906117df
commit 29b13262c3
2 changed files with 26 additions and 0 deletions
+10
View File
@@ -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
+16
View File
@@ -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 }}