diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..a2b47be4 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@softservedata \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..b7829769 --- /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 \ No newline at end of file diff --git a/.github/workflows/pr-to-discord.yml b/.github/workflows/pr-to-discord.yml new file mode 100644 index 00000000..338e3ffa --- /dev/null +++ b/.github/workflows/pr-to-discord.yml @@ -0,0 +1,18 @@ +name: Notify Discord on Pull Request + +on: + pull_request: + types: [opened] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Send Discord message + run: | + curl -H "Content-Type: application/json" \ + -X POST \ + -d '{ + "content": "🔔 New Pull Request by **${{ github.actor }}**: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})" + }' \ + ${{ secrets.DISCORD_WEBHOOK_URL }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3a98ac4b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# SSH keys +deploy_key +deploy_key.pub \ No newline at end of file diff --git a/test.js b/test.js new file mode 100644 index 00000000..509484d2 --- /dev/null +++ b/test.js @@ -0,0 +1,2 @@ +'promt for create pull request :)' +'promt for create pull request :) x2' \ No newline at end of file