Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of use of the dreamquark-ai/github-action-security-report action
name: Example of workflow for security report
on:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- name: Pull the base image
run: docker pull python:3.8-buster
- name: Build the new image
run: docker build -t python:security-test -f example/Dockerfile .
- name: "Security reports"
uses: dreamquark-ai/ci-security-report@main
env:
GITHUB_PAT: ${{secrets.PAT_SECURITY_REPORT_ACTION_EXAMPLE}}
with:
image: 'python'
base-tag: '3.8-buster'
new-tag: 'security-test'
orga: 'PaulBarrie'
repo: 'ci-security-report-example'
pr-nb: ${{ github.event.number }}
topic: 'github-example'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment