Skip to content

Add push step dagger.yml #5

Add push step dagger.yml

Add push step dagger.yml #5

Workflow file for this run

name: dagger
on:
push:
branches: [techlab]
jobs:
scan:
name: vulnerability-scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- 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/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'techlab'
commit-message: 'Add scan results'
force-add: 'true'
files: scans/