mirror of
https://github.com/typeable/elm-ui.git
synced 2024-12-01 18:52:11 +03:00
add GitHub action to set issues labels from hashtags in comments
This commit is contained in:
parent
dfef57797e
commit
3e384afb01
49
.github/workflows/label-issues.yml
vendored
Normal file
49
.github/workflows/label-issues.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: "Set Issue Label"
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created, edited]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#bug"]'
|
||||
labels: '["bug"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#feature-suggestion"]'
|
||||
labels: '["feature-suggestion"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#has-ellie"]'
|
||||
labels: '["has-ellie"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#has-test"]'
|
||||
labels: '["has-test"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#pain-point"]'
|
||||
labels: '["pain-point"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#test-incorrectly-passing"]'
|
||||
labels: '["test-incorrectly-passing"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#test-not-compiling"]'
|
||||
labels: '["test-not-compiling"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["#unexpected"]'
|
||||
labels: '["unexpected"]'
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Reference in New Issue
Block a user