Skip to content

Commit

Permalink
Adding issue labeller and greeting github action (#120)
Browse files Browse the repository at this point in the history
* added the greetings github action

* added issue labeller workflow

* adding the keywords for the issue labeller

* removed the unwanted labels
  • Loading branch information
bislara authored Oct 12, 2020
1 parent 4de498a commit f9fadd6
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/issues_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
javascript:
- "(JavaScript|JAVASCRIPT|Javascript|javascript|JS|js|Js)"
enhancement:
- "(enhancement|Enhancement|enhance)"
difficulty-easy:
- "(Easy|easy)"
difficulty-medium:
- "(Medium|medium)"
difficulty-hard:
- "(Hard|hard)"
git:
- "(Git|git|GIT)"
github-actions:
- "(GitHub actions|GIT actions|github actions)"
hacktoberfest:
- "(hacktoberfest|Hacktoberfest|Hacktober fest|Hacktoberfest2020)"
bug:
- "(bug|Bug|BUG)"
up-for-grab:
- "(up for grab)"
urgent:
- "(urgent|URGENT|Urgent)"
documentation:
- "(documentation|Documentation)"
no-Code:
- "(No Code)"
13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
issue-message: 'Hey @${{ github.actor }}, congratulations!! 🎉 for creating your first issue. Wait for the admin approval now and then you can go ahead to solve the issue. Do give a star ⭐ if you like this project. '
pr-message: 'Congratulations!! 🎉 @${{ github.actor }} for making your first PR. Admin will review the changes soon and merge finally.😊 Do give a star ⭐ if you like this project. '
15 changes: 15 additions & 0 deletions .github/workflows/issues_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Issue Labeler"
on:
issues:
types: [opened, edited]

jobs:
triage:
name: Autmomate Issue
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issues_labeler.yml
enable-versioned-regex: 0

0 comments on commit f9fadd6

Please sign in to comment.