diff --git a/automation/.keep b/automation/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/automation/greetings.properties.json b/automation/greetings.properties.json new file mode 100644 index 0000000..341ea46 --- /dev/null +++ b/automation/greetings.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Greetings", + "description": "Greets users who are first time contributers to the repo", + "iconName": "blank", + "categories": ["Automation", "SDLC"] +} \ No newline at end of file diff --git a/automation/greetings.yml b/automation/greetings.yml new file mode 100644 index 0000000..167999e --- /dev/null +++ b/automation/greetings.yml @@ -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' \ No newline at end of file diff --git a/automation/label.properties.json b/automation/label.properties.json new file mode 100644 index 0000000..11d37ef --- /dev/null +++ b/automation/label.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Labeler", + "description": "Labels pull requests based on the files changed", + "iconName": "blank", + "categories": ["Automation", "SDLC"] +} \ No newline at end of file diff --git a/automation/label.yml b/automation/label.yml new file mode 100644 index 0000000..3f7d3c7 --- /dev/null +++ b/automation/label.yml @@ -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 }}" \ No newline at end of file