diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..13cc56b --- /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..f4535ab --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,11 @@ +## 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/tests/test/script_test.rb b/.github/tests/test/script_test.rb index 7d69c61..89583f8 100644 --- a/.github/tests/test/script_test.rb +++ b/.github/tests/test/script_test.rb @@ -110,4 +110,4 @@ def test_PR_template_present assert_not_nil(actual, 'Pull request template is absent') end -end +end \ No newline at end of file diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml new file mode 100644 index 0000000..897ce50 --- /dev/null +++ b/.github/workflows/discord.yml @@ -0,0 +1,21 @@ +name: Discord PR Notification + +on: + pull_request: + types: [opened] + +on: + push: + pull_request: + types: [opened] + +jobs: + notify: + runs-on: ubuntu-latest + + steps: + - name: Send message to Discord + run: | + curl -X POST ${{ secrets.DISCORD_WEBHOOK }} \ + -H "Content-Type: application/json" \ + -d '{"content": "New PR created: ${{ github.event.pull_request.html_url }}"}' \ No newline at end of file diff --git a/src/.file b/src/.file new file mode 100644 index 0000000..0f0c75f --- /dev/null +++ b/src/.file @@ -0,0 +1 @@ +dfgdfg \ No newline at end of file