From cfef411291db3c7ef398b288ac4a4903b75aa33a Mon Sep 17 00:00:00 2001 From: Skyllie Date: Tue, 25 Aug 2026 16:35:01 +0200 Subject: [PATCH 1/3] Add CODEOWNERS and PR template --- .github/CODEOWNERS | 1 + .github/pull_request_template.md | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/pull_request_template.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..dfb3796 --- /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 0000000..c20b1a9 --- /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 From a2115b45b05e73063bcd12343abd6ff1000b4a99 Mon Sep 17 00:00:00 2001 From: Skyllie Date: Tue, 25 Aug 2026 16:57:31 +0200 Subject: [PATCH 2/3] Add Discord PR notification workflow --- .github/workflows/discord-notify.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/discord-notify.yml diff --git a/.github/workflows/discord-notify.yml b/.github/workflows/discord-notify.yml new file mode 100644 index 0000000..3eb4851 --- /dev/null +++ b/.github/workflows/discord-notify.yml @@ -0,0 +1,13 @@ +name: Discord 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" -d "{\"content\": \"🔔 New Pull Request opened: **${{ github.event.pull_request.title }}** by ${{ github.event.pull_request.user.login }}\n${{ github.event.pull_request.html_url }}\"}" ${{ secrets.DISCORD_WEBHOOK }} From a5d3b4c006514810a2d3094975cf4634a51e515b Mon Sep 17 00:00:00 2001 From: Skyllie Date: Tue, 25 Aug 2026 17:00:12 +0200 Subject: [PATCH 3/3] Fix Discord webhook env passing --- .github/workflows/discord-notify.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/discord-notify.yml b/.github/workflows/discord-notify.yml index 3eb4851..564159c 100644 --- a/.github/workflows/discord-notify.yml +++ b/.github/workflows/discord-notify.yml @@ -9,5 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Send Discord notification + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + PR_TITLE: ${{ github.event.pull_request.title }} + PR_AUTHOR: ${{ github.event.pull_request.user.login }} + PR_URL: ${{ github.event.pull_request.html_url }} run: | - curl -H "Content-Type: application/json" -d "{\"content\": \"🔔 New Pull Request opened: **${{ github.event.pull_request.title }}** by ${{ github.event.pull_request.user.login }}\n${{ github.event.pull_request.html_url }}\"}" ${{ secrets.DISCORD_WEBHOOK }} + curl -H "Content-Type: application/json" -d "{\"content\": \"New Pull Request opened: **${PR_TITLE}** by ${PR_AUTHOR} - ${PR_URL}\"}" "$DISCORD_WEBHOOK"