SWDEV-123456 - add AI CodeQL workflows (#558)

[ROCm/clr commit: a2550e0a9e]
Этот коммит содержится в:
Lytovchenko, Danylo
2025-06-17 09:30:58 +02:00
коммит произвёл GitHub
родитель 079b490e64
Коммит d42c7875a6
2 изменённых файлов: 55 добавлений и 0 удалений
+19
Просмотреть файл
@@ -0,0 +1,19 @@
name: AI CodeQL Fix
on:
schedule:
- cron: '15 12 * * *'
jobs:
call_codeql_reusable_workflow:
uses: AMD-GH-Actions/ai-pr-platform-actions-lib/.github/workflows/reusable_codeql.yml@main
with:
team_name: rocm_clr
alerts: ''
from_date: ''
to_date: ''
filter_by_rules: ''
trigger_event: ${{ github.event_name }}
secrets:
gh_token: ${{ secrets.AI_GH_TOKEN }}
codeql_token: ${{ secrets.AI_CODEQL_API_KEY }}
+36
Просмотреть файл
@@ -0,0 +1,36 @@
name: AI CodeQL Fix - historical
on:
workflow_dispatch:
inputs:
alerts:
required: false
type: string
description: '️Use either alert IDs or Start/End date!List of alert IDs (comma-separated values)'
from_date:
required: false
type: string
description: 'Start date (use YYYY-MM-DD format)'
to_date:
required: false
type: string
description: 'End date (use YYYY-MM-DD format) ⚠️Must be within 15 days of Start date!'
filter_by_rules:
required: false
type: string
description: 'Filter by Rule IDs ⚠️Overrides team-configured rules https://amd.atlassian.net/wiki/x/tSrkNg'
jobs:
call_codeql_reusable_workflow:
uses: AMD-GH-Actions/ai-pr-platform-actions-lib/.github/workflows/reusable_codeql_historical.yml@main
with:
team_name: rocm_clr
alerts: ${{ inputs.alerts }}
from_date: ${{ inputs.from_date }}
to_date: ${{ inputs.to_date }}
filter_by_rules: ${{ inputs.filter_by_rules }}
trigger_event: ${{ github.event_name }}
secrets:
gh_token: ${{ secrets.AI_GH_TOKEN }}
codeql_token: ${{ secrets.AI_CODEQL_API_KEY }}