Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
364171ebca |
@@ -3,9 +3,6 @@ name: Reusable Python Security Checks
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
python_version:
|
|
||||||
type: string
|
|
||||||
default: "3.14"
|
|
||||||
install_command:
|
install_command:
|
||||||
type: string
|
type: string
|
||||||
default: 'python -m pip install "bandit[toml]"'
|
default: 'python -m pip install "bandit[toml]"'
|
||||||
@@ -15,12 +12,18 @@ on:
|
|||||||
working_directory:
|
working_directory:
|
||||||
type: string
|
type: string
|
||||||
default: "."
|
default: "."
|
||||||
|
secrets:
|
||||||
|
REGISTRY_USERNAME: { required: true }
|
||||||
|
REGISTRY_PASSWORD: { required: true }
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
security:
|
security:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: python:${{ inputs.python_version }}-slim
|
image: gitea.tech-buddy.at/bitbuddydev/gitea_runner_python314:dev-bda315b82bb23d83065b77d91fedf0e20d9accf1
|
||||||
|
credentials:
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user