From d13f1cdba4b009edeeffe9ee9438e4cae8211ffe Mon Sep 17 00:00:00 2001 From: daniitadd Date: Mon, 6 Jul 2026 21:47:49 +0300 Subject: [PATCH 1/6] Add CODEOWNERS file for repository ownership --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..187a56d --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +*@softserve From 2c57beff97c4e69b6ae9887f5d173e87762dc455 Mon Sep 17 00:00:00 2001 From: daniitadd Date: Mon, 6 Jul 2026 21:53:51 +0300 Subject: [PATCH 2/6] Add pull request template for code reviews --- .github/pull_request_template.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..378b862 --- /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 From 6f8ce62880bf32572efdaa89f343828ff7e40326 Mon Sep 17 00:00:00 2001 From: daniitadd Date: Mon, 6 Jul 2026 22:09:58 +0300 Subject: [PATCH 3/6] Add GitHub Actions workflow for Discord notifications --- .github/workflows/discord.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/discord.yml diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml new file mode 100644 index 0000000..ae73a0d --- /dev/null +++ b/.github/workflows/discord.yml @@ -0,0 +1,19 @@ +name: Discord 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 PR created: '${{ github.event.pull_request.html_url }}'" + }' \ + ${{ secrets.DISCORD_WEBHOOK }} From 01c1f439031165d230d1ec5e881e886741b8db0e Mon Sep 17 00:00:00 2001 From: daniitadd Date: Mon, 6 Jul 2026 22:36:05 +0300 Subject: [PATCH 4/6] Update CODEOWNERS to change ownership to softservedata --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 187a56d..aa58bbb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -*@softserve +*@softservedata From 2cc392d1945045806795e73bfd6a8438a1984401 Mon Sep 17 00:00:00 2001 From: daniitadd Date: Mon, 6 Jul 2026 22:38:37 +0300 Subject: [PATCH 5/6] Create pull request template Added a pull request template to guide contributors. --- .github/pull_request_template.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..5c2e160 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,10 @@ +## 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 From 59f8718c5dbe7edc1baa20ad567da2f8a6a4c935 Mon Sep 17 00:00:00 2001 From: daniitadd Date: Tue, 14 Jul 2026 18:46:50 +0300 Subject: [PATCH 6/6] Add script to find users with bash shell Script checks for a specified file and lists users with bash shell. --- find_bash_users.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 find_bash_users.sh diff --git a/find_bash_users.sh b/find_bash_users.sh new file mode 100644 index 0000000..181f95f --- /dev/null +++ b/find_bash_users.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +FILE=${1:-/etc/passwd} + +if [ ! -f "$FILE" ]; then + echo "Error" + exit 1 +fi + +echo "Users in file $FILE:" + +grep '/bin/bash$' "$FILE" | cut -d: -f1