Skip to content

Commit 216a469

Browse files
authored
Merge pull request MichaelCade#416 from Vikash-8090-Yadav/GithubActions-1
2 parents 7a86cfc + 878cb8c commit 216a469

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Auto message on Creating a Issue.
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
greeting:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Create comment for issue
12+
if: github.event_name =='issues'
13+
uses: peter-evans/create-or-update-comment@v1
14+
with:
15+
issue-number: ${{tojson(github.event.issue.number)}}
16+
body: Hello there!👋, @${{ github.actor }} Welcome to the Solidity-Pathshala! 🚀⚡Thank you and Congratulations🎉 for opening a issue in this project. Please make sure not to start working on this issue, unless you are assigned to it.😄
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto message on Pr merge
2+
3+
on:
4+
pull_request_target:
5+
types: [closed]
6+
7+
jobs:
8+
auto-response:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: derekprior/add-autoresponse@master
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
respondableId: ${{ github.event.pull_request.node_id }}
17+
response: "Thank you @${{ github.event.pull_request.user.login }} for taking out your valuable time in order to contribute to our project. Looking forward for more such amazing contributions :)"
18+
author: ${{ github.event.pull_request.user.login }}
19+
exemptedAuthors: "Vikash-8090-Yadav"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto message on PR opened
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
auto-response:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: derekprior/add-autoresponse@master
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
respondableId: ${{ github.event.pull_request.node_id }}
17+
response: "Our team will soon review your PR. Thanks @${{ github.event.pull_request.user.login }} :)"
18+
author: ${{ github.event.pull_request.user.login }}
19+
exemptedAuthors: "Vikash-8090-Yadav"

0 commit comments

Comments
 (0)