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..544de17 --- /dev/null +++ b/src/.file @@ -0,0 +1 @@ +dfgdfgasdasdфів \ No newline at end of file