Skip to content

Commit

Permalink
Use plain git commands dagger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal authored Sep 2, 2024
1 parent f6b456f commit f9f525d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/dagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,14 @@ jobs:
name: vulnerability-scan
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: checkout
uses: actions/checkout@v4
- name: Call Dagger Function
- name: scan
uses: dagger/dagger-for-github@v6
with:
version: "latest"
verb: call
module: .
args: vulnerability-scan --context=. export --path=.
- name: Add
run: git add scans
- name: Push
uses: github-actions-x/[email protected]
with:
commit-message: "Add scan results"
files: scans/
- name: commit and push
run: git add scans && git commit -m "Update Scan results" && git push

0 comments on commit f9f525d

Please sign in to comment.