mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-01-05 13:07:58 +07:00
Merge pull request #416 from Vikash-8090-Yadav/GithubActions-1
This commit is contained in:
commit
216a4695ea
16
.github/workflows/Auto_message_on_creatingissues.yml
vendored
Normal file
16
.github/workflows/Auto_message_on_creatingissues.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Auto message on Creating a Issue.
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create comment for issue
|
||||
if: github.event_name =='issues'
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
issue-number: ${{tojson(github.event.issue.number)}}
|
||||
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.😄
|
19
.github/workflows/Auto_message_on_pr_merge.yml
vendored
Normal file
19
.github/workflows/Auto_message_on_pr_merge.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Auto message on Pr merge
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
auto-response:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: derekprior/add-autoresponse@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
respondableId: ${{ github.event.pull_request.node_id }}
|
||||
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 :)"
|
||||
author: ${{ github.event.pull_request.user.login }}
|
||||
exemptedAuthors: "Vikash-8090-Yadav"
|
19
.github/workflows/Auto_message_on_pr_open.yml
vendored
Normal file
19
.github/workflows/Auto_message_on_pr_open.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Auto message on PR opened
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
auto-response:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: derekprior/add-autoresponse@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
respondableId: ${{ github.event.pull_request.node_id }}
|
||||
response: "Our team will soon review your PR. Thanks @${{ github.event.pull_request.user.login }} :)"
|
||||
author: ${{ github.event.pull_request.user.login }}
|
||||
exemptedAuthors: "Vikash-8090-Yadav"
|
Loading…
Reference in New Issue
Block a user