mirror of
https://github.com/github/codeql-action.git
synced 2025-12-31 11:40:24 +08:00
Use artifact scanner in debug artifacts PR checks
This commit is contained in:
@@ -73,6 +73,14 @@ jobs:
|
||||
CODEQL_ACTION_EXTRA_OPTIONS: '{ "database": { "finalize": ["--invalid-option"] } }'
|
||||
with:
|
||||
expect-error: true
|
||||
- name: Verify artifact scan ran
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "$CODEQL_ACTION_ARTIFACT_SCAN_FINISHED" != "true" ]]; then
|
||||
echo "Error: Best effort artifact scan did not run"
|
||||
exit 1
|
||||
fi
|
||||
echo "✓ Best effort artifact scan completed successfully"
|
||||
download-and-check-artifacts:
|
||||
name: Download and check debug artifacts after failure in analyze
|
||||
if: github.triggering_actor != 'dependabot[bot]'
|
||||
|
||||
Reference in New Issue
Block a user