From f9f525d810c5d9943c0a0998829090502c440dc9 Mon Sep 17 00:00:00 2001 From: RetGal Date: Mon, 2 Sep 2024 14:55:56 +0200 Subject: [PATCH] Use plain git commands dagger.yml --- .github/workflows/dagger.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dagger.yml b/.github/workflows/dagger.yml index d2a7553d..614a2dae 100644 --- a/.github/workflows/dagger.yml +++ b/.github/workflows/dagger.yml @@ -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/commit@v2.9 - with: - commit-message: "Add scan results" - files: scans/ + - name: commit and push + run: git add scans && git commit -m "Update Scan results" && git push