mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2024-12-22 22:03:16 +07:00
added the github action when someone opens the pr
This commit is contained in:
parent
6f821fe9a2
commit
878cb8c45b
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