From 5af6defa53c29668a065f00079c6f8087dd865f5 Mon Sep 17 00:00:00 2001 From: Roshan Krishnachandra Jha Date: Mon, 19 Oct 2020 21:25:16 +0530 Subject: [PATCH 1/3] Generated greeting actions for issue labeler and PRs --- .github/issues_labeler.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/issues_labeler.yml diff --git a/.github/issues_labeler.yml b/.github/issues_labeler.yml new file mode 100644 index 0000000..b776bdf --- /dev/null +++ b/.github/issues_labeler.yml @@ -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)" From 2b719fc9509689a82e94c563ae880bea59f3b52a Mon Sep 17 00:00:00 2001 From: Roshan Krishnachandra Jha Date: Tue, 20 Oct 2020 01:17:44 +0530 Subject: [PATCH 2/3] Create greetings.yml --- .github/workflows/greetings.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..53c3f68 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -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. Maintainers of this repository will review the changes soon and merge finally.😊 Do give a star ⭐ if you like this project. ' From 0204b7b4726782926707f42bbc7599dd19df6e45 Mon Sep 17 00:00:00 2001 From: Roshan Krishnachandra Jha Date: Tue, 20 Oct 2020 01:18:58 +0530 Subject: [PATCH 3/3] Adding issue labeller github action --- .github/workflows/issues_labeler.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/issues_labeler.yml diff --git a/.github/workflows/issues_labeler.yml b/.github/workflows/issues_labeler.yml new file mode 100644 index 0000000..1d938df --- /dev/null +++ b/.github/workflows/issues_labeler.yml @@ -0,0 +1,15 @@ +name: "Issue Labeler" +on: + issues: + types: [opened, edited] + +jobs: + triage: + name: Autmomate Issue + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v2.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/issues_labeler.yml + enable-versioned-regex: 0