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 b88c509 commit 11f4460
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/fascan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ jobs:
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:main
- 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/vCardOOo:/working-dir ghcr.io/fluidattacks/makes/amd64 m gitlab:fluidattacks/universe@trunk /skims scan ./_fascan.yml
docker system prune -f
docker run -v ~/github/vCardOOo:/src -v ./_fascan.yml:/fascan.yml fluidattacks/cli:latest skims scan /fascan.yml
#docker system prune -f

0 comments on commit 11f4460

Please sign in to comment.