Compare commits
No commits in common. "1e12cae78ef09c0aa93dd3f512e236977e9d4555" and "28c0dd761f86019a2c8ba0b7445316f80aa83a6b" have entirely different histories.
1e12cae78e
...
28c0dd761f
3 changed files with 0 additions and 41 deletions
|
|
@ -35,16 +35,3 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./tests.sh
|
./tests.sh
|
||||||
|
|
||||||
# Notify if any previous step in this job failed
|
|
||||||
- name: Notify on failure
|
|
||||||
if: ${{ failure() }}
|
|
||||||
env:
|
|
||||||
WEBHOOK_URL: ${{ secrets.NODERED_WEBHOOK_URL }}
|
|
||||||
REPOSITORY: ${{ forgejo.repository }}
|
|
||||||
RUN_NUMBER: ${{ forgejo.run_number }}
|
|
||||||
SERVER_URL: ${{ forgejo.server_url }}
|
|
||||||
run: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"repository\":\"$REPOSITORY\",\"run_number\":\"$RUN_NUMBER\",\"status\":\"failure\",\"url\":\"$SERVER_URL/$REPOSITORY/actions/runs/$RUN_NUMBER\"}" \
|
|
||||||
"$WEBHOOK_URL"
|
|
||||||
|
|
|
||||||
|
|
@ -25,17 +25,3 @@ jobs:
|
||||||
pyflakes3 tests/*
|
pyflakes3 tests/*
|
||||||
vulture
|
vulture
|
||||||
bandit -s B110 -r bouquin/
|
bandit -s B110 -r bouquin/
|
||||||
|
|
||||||
# Notify if any previous step in this job failed
|
|
||||||
- name: Notify on failure
|
|
||||||
if: ${{ failure() }}
|
|
||||||
env:
|
|
||||||
WEBHOOK_URL: ${{ secrets.NODERED_WEBHOOK_URL }}
|
|
||||||
REPOSITORY: ${{ forgejo.repository }}
|
|
||||||
RUN_NUMBER: ${{ forgejo.run_number }}
|
|
||||||
SERVER_URL: ${{ forgejo.server_url }}
|
|
||||||
run: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"repository\":\"$REPOSITORY\",\"run_number\":\"$RUN_NUMBER\",\"status\":\"failure\",\"url\":\"$SERVER_URL/$REPOSITORY/actions/runs/$RUN_NUMBER\"}" \
|
|
||||||
"$WEBHOOK_URL"
|
|
||||||
|
|
|
||||||
|
|
@ -24,17 +24,3 @@ jobs:
|
||||||
- name: Run trivy
|
- name: Run trivy
|
||||||
run: |
|
run: |
|
||||||
trivy fs --no-progress --ignore-unfixed --format table --disable-telemetry .
|
trivy fs --no-progress --ignore-unfixed --format table --disable-telemetry .
|
||||||
|
|
||||||
# Notify if any previous step in this job failed
|
|
||||||
- name: Notify on failure
|
|
||||||
if: ${{ failure() }}
|
|
||||||
env:
|
|
||||||
WEBHOOK_URL: ${{ secrets.NODERED_WEBHOOK_URL }}
|
|
||||||
REPOSITORY: ${{ forgejo.repository }}
|
|
||||||
RUN_NUMBER: ${{ forgejo.run_number }}
|
|
||||||
SERVER_URL: ${{ forgejo.server_url }}
|
|
||||||
run: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"repository\":\"$REPOSITORY\",\"run_number\":\"$RUN_NUMBER\",\"status\":\"failure\",\"url\":\"$SERVER_URL/$REPOSITORY/actions/runs/$RUN_NUMBER\"}" \
|
|
||||||
"$WEBHOOK_URL"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue