Skip to content

workflow: adding codeql #30

workflow: adding codeql

workflow: adding codeql #30

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Ledger SAS
#
# SPDX-License-Identifier: Apache-2.0
on:
push:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
ut:
strategy:
matrix:
version: ['3.10', '3.11', '3.12']
uses: outpost-os/pipeline-python/.github/workflows/unittest.yml@v1
with:
python-version: ${{ matrix.version }}
secrets: inherit
doc:
uses: outpost-os/pipeline-python/.github/workflows/doc.yml@v1
with:
python-version: '3.11'
lint:
needs: [ ut, doc ]
if: ${{ github.event_name == 'pull_request' }}
uses: outpost-os/pipeline-python/.github/workflows/lint.yml@v1
with:
python-version: '3.10'
codeql:

Check failure on line 31 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 31, Col: 3): Error calling workflow 'outpost-os/pipeline-python/.github/workflows/codeql.yml@v1'. The nested job 'analyze' is requesting 'actions: read, security-events: write', but is only allowed 'actions: none, security-events: none'.
needs: [ ut ]
uses: outpost-os/pipeline-python/.github/workflows/codeql.yml@v1