From 22960d98fbf6d4129ca87060fbae286d68456273 Mon Sep 17 00:00:00 2001 From: RetGal Date: Mon, 2 Sep 2024 13:28:31 +0200 Subject: [PATCH] Add push step dagger.yml --- .github/workflows/dagger.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dagger.yml b/.github/workflows/dagger.yml index f50d3e26..9e3dc6c5 100644 --- a/.github/workflows/dagger.yml +++ b/.github/workflows/dagger.yml @@ -10,11 +10,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - - name: Call Dagger Function + - name: Call Dagger Function uses: dagger/dagger-for-github@v6 with: version: "latest" verb: call module: . args: vulnerability-scan --context=. export --path=. + - name: Push + uses: github-actions-x/commit@v2.9 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + push-branch: 'techlab' + commit-message: 'Add scan results' + force-add: 'true' + files: scans/