Skip to content

Commit f28848a

Browse files
committed
Use artifact scanner in debug artifacts PR checks
1 parent 5459b98 commit f28848a

File tree

7 files changed

+2840
-2205
lines changed

7 files changed

+2840
-2205
lines changed

.github/workflows/debug-artifacts-failure-safe.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ jobs:
7373
CODEQL_ACTION_EXTRA_OPTIONS: '{ "database": { "finalize": ["--invalid-option"] } }'
7474
with:
7575
expect-error: true
76+
- name: Verify artifact scan ran
77+
shell: bash
78+
run: |
79+
if [[ "$CODEQL_ACTION_ARTIFACT_SCAN_FINISHED" != "true" ]]; then
80+
echo "Error: Best effort artifact scan did not run"
81+
exit 1
82+
fi
83+
echo "✓ Best effort artifact scan completed successfully"
7684
download-and-check-artifacts:
7785
name: Download and check debug artifacts after failure in analyze
7886
if: github.triggering_actor != 'dependabot[bot]'

.github/workflows/debug-artifacts-safe.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ jobs:
6767
run: ./build.sh
6868
- uses: ./../action/analyze
6969
id: analysis
70+
- name: Verify artifact scan ran
71+
shell: bash
72+
run: |
73+
if [[ "$CODEQL_ACTION_ARTIFACT_SCAN_FINISHED" != "true" ]]; then
74+
echo "Error: Best effort artifact scan did not run"
75+
exit 1
76+
fi
77+
echo "✓ Best effort artifact scan completed successfully"
7078
download-and-check-artifacts:
7179
name: Download and check debug artifacts
7280
if: github.triggering_actor != 'dependabot[bot]'

lib/analyze-action-post.js

Lines changed: 924 additions & 721 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action-post.js

Lines changed: 956 additions & 756 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/start-proxy-action-post.js

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)