mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-16 23:00:13 -07:00
fix: disable alerts on pull request
This commit is contained in:
parent
1d8a14e7d3
commit
3856679955
22
.github/workflows/pull_request.yml
vendored
22
.github/workflows/pull_request.yml
vendored
@ -1,9 +1,5 @@
|
|||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
env:
|
|
||||||
PUSHOVER_TOKEN: ${{ secrets.PUSHOVER_TOKEN }}
|
|
||||||
PUSHOVER_USER: ${{ secrets.PUSHOVER_USER }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-code:
|
lint-code:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -16,21 +12,3 @@ jobs:
|
|||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: v1.29
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user