Fix Docker image publish GitHub Action #1980
Workflow file for this run
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: Security Analysis | |
on: | |
pull_request: | |
branches: | |
- main | |
- current-release | |
- "*LTS" | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
bandit: | |
if: github.event.pull_request.draft == false | |
name: type-check-${{ matrix.config.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
config: | |
- { python-version: 3.8, tox-env: security} | |
- { python-version: 3.9, tox-env: security} | |
- { python-version: "3.10", tox-env: security} | |
- { python-version: "3.11", tox-env: security} | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
id: checkout-branch | |
- name: Run Linter Checks | |
id: linter-check | |
uses: harshanarayana/custom-actions@main | |
with: | |
python-version: ${{ matrix.config.python-version }} | |
test-infra-tool: tox | |
test-infra-version: latest | |
action: tests | |
test-additional-args: "-e=${{ matrix.config.tox-env }}" |