diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..e32a21f --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @softservedata diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..378b862 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## Describe your changes + +## Issue ticket number and link + +## Checklist before requesting a review +- [ ] I have performed a self-review of my code +- [ ] If it is a core feature, I have added thorough tests +- [ ] Do we need to implement analytics? +- [ ] Will this be part of a product update? If yes, please write one phrase about this update diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml new file mode 100644 index 0000000..cbc823a --- /dev/null +++ b/.github/workflows/discord.yml @@ -0,0 +1,18 @@ +name: Discord PR Notification + +on: + pull_request: + types: [opened] + +jobs: + notify: + runs-on: ubuntu-latest + + steps: + - name: Send message to Discord + run: | + curl -H "Content-Type: application/json" \ + -d '{ + "content": "šŸš€ New PR created: '${{ github.event.pull_request.title }}'\nšŸ”— '${{ github.event.pull_request.html_url }}'" + }' \ + ${{ secrets.DISCORD_WEBHOOK }}