Skip to content

chore: add security scans #113

chore: add security scans

chore: add security scans #113

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches:
- main
paths-ignore:
- pyproject.toml
pull_request:
branches:
- main
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 24 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: 24, Col: 3): Error calling workflow 'UiPath/uipath-mcp-python/.github/workflows/security-scans.yml@36a293d79ecef456c0c046f6b362471e12cc6ec4'. 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