Skip to content

chore: add security scans #114

chore: add security scans

chore: add security scans #114

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches:
- main
paths-ignore:
- pyproject.toml
pull_request:
branches:
- main
workflow_dispatch:
inputs:
run_security_scans:
description: 'Run FOSSA and CODEQL scans'
required: false
default: 'false'
jobs:
commit-lint:
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/commitlint.yml
lint:
uses: ./.github/workflows/lint.yml
security-scans:

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 31, Col: 3): Error calling workflow 'UiPath/uipath-mcp-python/.github/workflows/security-scans.yml@910ef3bd6d9b46c7331a25fe46fe591131dbaac1'. The nested job 'codeql' is requesting 'security-events: write', but is only allowed 'security-events: none'.
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.run_security_scans =='true')
uses: ./.github/workflows/security-scans.yml