Skip to content

Commit

Permalink
fascan.yml fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prrvchr committed Oct 27, 2024
1 parent 1607505 commit f948e7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/fascan.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# .github/workflows/fascan.yml
name: Fluid Attacks Scan
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
jobs:
machineStandalone:
name: machineStandalone job
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -20,9 +15,9 @@ jobs:
- name: Fluid-Attacks scan
id: scan
continue-on-error: true
uses: docker://ghcr.io/fluidattacks/makes/amd64
uses: docker://docker.io/fluidattacks/cli:latest
with:
args: m gitlab:fluidattacks/universe@trunk /skims scan ./_fascan.yml
args: skims scan ./_fascan.yml

- name: Commit and push changes
run: |
Expand All @@ -31,6 +26,6 @@ jobs:
git commit -am "Fluid-Attacks-Results.csv commit" || exit 0
git push origin HEAD:master
- name: Check on failures
- name: Check for failures
if: steps.scan.outcome != 'success'
run: exit 1
4 changes: 2 additions & 2 deletions Fluid-Attacks-Scan.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
docker run -v ~/github/jdbcDriverOOo:/working-dir ghcr.io/fluidattacks/makes/amd64 m gitlab:fluidattacks/universe@trunk /skims scan ./_fascan.yml
docker system prune -f
docker run -v ~/github/jdbcDriverOOo:/src -v ./_fascan.yml:/fascan.yml fluidattacks/cli:latest skims scan /fascan.yml
# docker system prune -f

0 comments on commit f948e7b

Please sign in to comment.