Skip to content

Commit 9492bfe

Browse files
authored
Merge pull request #39 from krishguptadev/patch-1
feat: label commenter workflow
2 parents b64616f + 29481c0 commit 9492bfe

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.github/label-commenter-config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
comment:
3+
# header: "Please note the following requirement:"
4+
footer: "\
5+
---\n\n
6+
>   	   	   	   	 Be sure to [join the community](http://slack.layer5.io), if you haven't yet and please leave a :star: [star on the project](../stargazers) :smile:
7+
"
8+
9+
labels:
10+
- name: issue/design required
11+
labeled:
12+
issue:
13+
body: This issue has been labeled with 'design-required'. Note that prior to commencing on implementation, a design specification needs to be created and reviewed for approval. See [Creating a Functional Specification](https://docs.google.com/document/d/1RP3IWLc-MiQS-QYasqCoVuCH7--G87p5ezE5f_nOzB8/edit?usp=sharing) to create a design spec.
14+
action: open
15+
- name: issue/remind
16+
labeled:
17+
issue:
18+
body: Checking in... it has been awhile since we've heard from you on this issue. Are you still working on it? Please let us know and please don't hesitate to contact a [MeshMate](https://layer5.io/community/meshmates/) or any other [community member](https://layer5.io/community/members) for assistance.
19+
action: open
20+
- name: issue/dco
21+
labeled:
22+
pr:
23+
body: "🚨 Alert! Git Police! We couldn’t help but notice that one or more of your commits is missing a sign-off. _A what?_ A commit sign-off (your email address).\n\n
24+
To amend the commits in this PR with your signoff using the instructions provided in the DCO check above. \n\n
25+
To configure your dev environment to automatically signoff on your commits in the future, see [these instructions](https://github.com/meshery/meshery/blob/master/CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin)."
26+
action: open

.github/workflows/label-commenter.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Label Commenter
2+
3+
on:
4+
issues:
5+
types:
6+
- labeled
7+
8+
pull_request_target:
9+
types:
10+
- labeled
11+
12+
permissions:
13+
contents: read
14+
issues: write
15+
pull-requests: write
16+
17+
jobs:
18+
comment:
19+
runs-on: ubuntu-18.04
20+
steps:
21+
- uses: actions/checkout@v2
22+
with:
23+
ref: master # Set your default branch
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
- name: Label Commenter
27+
uses: peaceiris/actions-label-commenter@v1

0 commit comments

Comments
 (0)