chore(deps): bump docker/build-push-action from 6.17.0 to 6.18.0 in the actions group #19
Workflow file for this run
This file contains hidden or 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: scanners | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+" | |
jobs: | |
fossa: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Code" | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: "Run FOSSA Scan" | |
uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0 | |
with: | |
api-key: ${{secrets.FOSSA_API_KEY}} | |
project: f5-ai-gateway-sdk-py | |
team: ai-gateway | |
policy: "F5 Policy" | |
- name: "Run FOSSA Test" | |
uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0 | |
with: | |
api-key: ${{secrets.FOSSA_API_KEY}} | |
project: f5-ai-gateway-sdk-py | |
run-tests: ${{ github.event_name == 'pull_request' }} | |
test-diff-revision: ${{ github.event.pull_request.base.sha }} | |
trivy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5 # v0.30.0 | |
with: | |
scan-type: fs | |
scan-ref: . | |
bandit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Read .tool-versions | |
uses: marocchino/tool-versions-action@18a164fa2b0db1cc1edf7305fcb17ace36d1c306 # v1.2.0 | |
id: versions | |
- name: Install a specific version of uv | |
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0 | |
with: | |
version: "${{ steps.versions.outputs.uv }}" | |
python-version: "${{ steps.versions.outputs.python }}" | |
enable-cache: true | |
- name: Install dependencies | |
run: uv sync --frozen | |
- name: Run bandit | |
run: | | |
uv run bandit -r src/ --exclude .venv/,tests/ | |
dependency-audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: run audit on requirements | |
uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 # v1.1.0 | |
with: | |
inputs: . | |
summary: true |