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..55bc435 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,14 @@ +## 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/pr-notify.yml b/.github/workflows/pr-notify.yml new file mode 100644 index 0000000..453dbfe --- /dev/null +++ b/.github/workflows/pr-notify.yml @@ -0,0 +1,18 @@ +name: PR Notification + +on: + pull_request: + types: [opened] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Send Discord notification + run: | + curl -H "Content-Type: application/json" \ + -X POST \ + -d '{ + "content": "šŸš€ New Pull Request created: ${{ github.event.pull_request.title }}\nšŸ”— ${{ github.event.pull_request.html_url }}" + }' \ + ${{ secrets.DISCORD_WEBHOOK }}