name: "grype" on: push: branches: ['main'] tags: ['v*'] pull_request: jobs: scan-source: name: scan-source runs-on: ubuntu-latest permissions: security-events: write actions: read contents: read steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 - uses: anchore/scan-action@v3 with: path: "." fail-build: true