From d50289370e89c5ce0ccb746a42244910c13571e4 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 22 Dec 2024 00:12:09 +0300 Subject: [PATCH 1/5] test notify Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_notify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/job_notify.yml diff --git a/.gitea/workflows/job_notify.yml b/.gitea/workflows/job_notify.yml new file mode 100644 index 0000000..292293b --- /dev/null +++ b/.gitea/workflows/job_notify.yml @@ -0,0 +1,19 @@ +name: notify +on: [push] +jobs: + notify: + name: Build + runs-on: ubuntu-latest + steps: + - name: send + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_TO }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + Repository: ${{ github.repository }} + + See changes: https://git.unistack.org/${{ github.repository }}/commit/${{github.sha}} \ No newline at end of file -- 2.45.2 From a99096d5ced03cc34fc113b6e05d70b191ff892e Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 22 Dec 2024 00:38:14 +0300 Subject: [PATCH 2/5] test notify Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_notify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/job_notify.yml b/.gitea/workflows/job_notify.yml index 292293b..7cf4777 100644 --- a/.gitea/workflows/job_notify.yml +++ b/.gitea/workflows/job_notify.yml @@ -2,11 +2,11 @@ name: notify on: [push] jobs: notify: - name: Build + name: notify runs-on: ubuntu-latest steps: - name: send - uses: appleboy/telegram-action@master + uses: https://github.com/appleboy/telegram-action@master #appleboy/telegram-action@master with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} -- 2.45.2 From 4d3b054dfd8c19071508ecf74a245223634578c5 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 22 Dec 2024 00:48:26 +0300 Subject: [PATCH 3/5] test notify Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_notify.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/job_notify.yml b/.gitea/workflows/job_notify.yml index 7cf4777..088ee22 100644 --- a/.gitea/workflows/job_notify.yml +++ b/.gitea/workflows/job_notify.yml @@ -6,14 +6,12 @@ jobs: runs-on: ubuntu-latest steps: - name: send - uses: https://github.com/appleboy/telegram-action@master #appleboy/telegram-action@master + uses: cbrgm/telegram-github-action@v1 with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} message: | - ${{ github.actor }} created commit: - Commit message: ${{ github.event.commits[0].message }} - + New commit by ${{ github.actor }}: + Commit: ${{ github.event.commits[0].message }} Repository: ${{ github.repository }} - - See changes: https://git.unistack.org/${{ github.repository }}/commit/${{github.sha}} \ No newline at end of file + Changes: https://git.unistack.org/${{ github.repository }}/commit/${{github.sha}} \ No newline at end of file -- 2.45.2 From 146a458b7ab410936d8c2d426eacf85d67651916 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 22 Dec 2024 00:49:34 +0300 Subject: [PATCH 4/5] test notify Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_notify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/job_notify.yml b/.gitea/workflows/job_notify.yml index 088ee22..fa1da61 100644 --- a/.gitea/workflows/job_notify.yml +++ b/.gitea/workflows/job_notify.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: send - uses: cbrgm/telegram-github-action@v1 + uses: https://github.com/cbrgm/telegram-github-action@v1.2.1 with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} -- 2.45.2 From 8090e90683a70e62dde0e3a295c1c67bc6b81d85 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 22 Dec 2024 01:08:42 +0300 Subject: [PATCH 5/5] test notify Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_notify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/job_notify.yml b/.gitea/workflows/job_notify.yml index fa1da61..710fead 100644 --- a/.gitea/workflows/job_notify.yml +++ b/.gitea/workflows/job_notify.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: send - uses: https://github.com/cbrgm/telegram-github-action@v1.2.1 + uses: appleboy/telegram-action@master with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} -- 2.45.2