Code Management #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |