Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/codeql-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
workflow_dispatch:
schedule:
- cron: '17 10 * * 2'
workflow_call:
inputs:
ref:
required: true
type: string

jobs:
analyze-python:
Expand All @@ -27,6 +32,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
persist-credentials: false

# Initializes the CodeQL tools for scanning.
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,20 @@
with:
ref: ${{ needs.pre-publish.outputs.version }}

static-scan:
static-python:
needs: [pre-publish]
uses: ./.github/workflows/codeql-python.yml
with:
ref: ${{ needs.pre-publish.outputs.version }}

Check warning

Code scanning / zizmor

default permissions used due to no permissions: block Warning

default permissions used due to no permissions: block

static-actions:
needs: [pre-publish]
uses: ./.github/workflows/codeql-actions.yml
with:
ref: ${{ needs.pre-publish.outputs.version }}
Comment on lines +70 to +74

Check warning

Code scanning / zizmor

default permissions used due to no permissions: block Warning

default permissions used due to no permissions: block

publish:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
needs: [build-dist, static-scan]
needs: [build-dist, static-python, static-actions]
name: Upload release to PyPI
runs-on: ubuntu-latest
environment: release-python
Expand Down
Loading