Adding SDLC workflows
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Greetings",
|
||||||
|
"description": "Greets users who are first time contributers to the repo",
|
||||||
|
"iconName": "blank",
|
||||||
|
"categories": ["Automation", "SDLC"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
name: Greetings
|
||||||
|
|
||||||
|
on: [pull_request, issue]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
greeting:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
steps:
|
||||||
|
- uses: actions/first-interaction@v1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issue-message: 'Message that will be displayed on users'' first issue'
|
||||||
|
pr-message: 'Message that will be displayed on users'' first pr'
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "Labeler",
|
||||||
|
"description": "Labels pull requests based on the files changed",
|
||||||
|
"iconName": "blank",
|
||||||
|
"categories": ["Automation", "SDLC"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
name: Labeler
|
||||||
|
on: [pull-request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/labeler@v2
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
Reference in New Issue
Block a user