feat: disable
This commit is contained in:
@@ -51,35 +51,35 @@ jobs:
|
|||||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=test-build.yaml", "clear": true}]'
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=test-build.yaml", "clear": true}]'
|
||||||
image: true
|
image: true
|
||||||
|
|
||||||
guarddog:
|
# guarddog:
|
||||||
runs-on: ubuntu-js
|
# runs-on: ubuntu-js
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v6
|
# uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Python
|
# - name: Set up Python
|
||||||
uses: actions/setup-python@v6
|
# uses: actions/setup-python@v6
|
||||||
with:
|
# with:
|
||||||
python-version: '3.14'
|
# python-version: '3.14'
|
||||||
|
|
||||||
- name: Install GuardDog
|
# - name: Install GuardDog
|
||||||
run: pip install guarddog
|
# run: pip install guarddog
|
||||||
|
|
||||||
- name: Run GuardDog
|
# - name: Run GuardDog
|
||||||
run: |
|
# run: |
|
||||||
guarddog npm scan .
|
# guarddog npm scan .
|
||||||
|
|
||||||
- name: ntfy Failed
|
# - name: ntfy Failed
|
||||||
uses: niniyas/ntfy-action@master
|
# uses: niniyas/ntfy-action@master
|
||||||
if: failure()
|
# if: failure()
|
||||||
with:
|
# with:
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
# url: '${{ secrets.NTFY_URL }}'
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
# topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
title: 'Security Failure - Site Profile'
|
# title: 'Security Failure - Site Profile'
|
||||||
priority: 4
|
# priority: 4
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
# headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
tags: action,failed
|
# tags: action,failed
|
||||||
details: 'Guarddog scan failed for Site Profile'
|
# details: 'Guarddog scan failed for Site Profile'
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
# icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=test-build.yaml", "clear": true}]'
|
# actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=test-build.yaml", "clear": true}]'
|
||||||
image: true
|
# image: true
|
||||||
|
|||||||
Reference in New Issue
Block a user