From 3856679955911760f55835d3843402f2a19b1201 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Mon, 10 May 2021 15:45:32 +0800 Subject: [PATCH] fix: disable alerts on pull request --- .github/workflows/pull_request.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 9cc4b59..ccaa462 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,9 +1,5 @@ on: pull_request -env: - PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_TOKEN }} - PUSHOVER_USER: ${{ secrets.PUSHOVER_USER }} - jobs: lint-code: runs-on: ubuntu-latest @@ -15,22 +11,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - version: v1.29 - - - name: Notify on failure - uses: kha7iq/pingme-action@v1 - if: failure() - env: - PUSHOVER_TITLE: '🟢 New Request: ${{ github.ref }}' - PUSHOVER_MESSAGE: 'Event is triggerd by ${{ github.event_name }} Checks ❌ ${{ job.status }}' - with: - service: pushover - - - name: Notify on success - uses: kha7iq/pingme-action@v1 - if: success() - env: - PUSHOVER_TITLE: '🟢 New Request: ${{ github.ref }}' - PUSHOVER_MESSAGE: 'Event is triggerd by ${{ github.event_name }} Checks ✅ ${{ job.status }}' - with: - service: pushover + version: v1.29 \ No newline at end of file