Skip to content

Code Management

Code Management #91

Workflow file for this run

name: Code Management
on:
workflow_dispatch:
schedule:
- cron: '0 07 * * 1'
jobs:
chain_bench_scan_example:
runs-on: ubuntu-latest
name: Test Job
steps:
- name: Chain Bench
id: chain-bench
uses: aquasecurity/[email protected]
with:
repository-url: ${{ github.server_url }}/${{ github.repository }} # Compiles to https://github.com/aquasecurity/chain-bench-action
github-token: ${{ secrets.GITHUB_TOKEN }}
# Using the github action output from the scan step "chain-bench-result" (JSON so you can run rego/jq against it)
- name: Echo
run: echo ${{ steps.chain-bench.outputs.chain-bench-result }}