-
-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (36 loc) · 1.08 KB
/
action-test.yml
File metadata and controls
42 lines (36 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Local Debugging Template
name: Flow Scanner (local test)
on:
workflow_dispatch:
jobs:
scan:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lightning Flow Scan
id: flowscanner
uses: ./
with:
sarif-only: true # Strict mode for PRs
- name: Show SARIF file (debug)
if: always()
run: |
SARIF_PATH="${{ steps.flowscanner.outputs.sarifPath }}"
echo "SARIF Path: $SARIF_PATH"
if [ -f "$SARIF_PATH" ]; then
echo "File exists! Size: $(stat -c%s "$SARIF_PATH") bytes"
echo "=== First 20 lines ==="
head -20 "$SARIF_PATH"
echo "=== End ==="
else
echo "File NOT found!"
fi
- name: Debug SARIF Path
if: always()
run: |
echo "SARIF Path: ${{ steps.flowscanner.outputs.sarifPath }}"
ls -la "${{ steps.flowscanner.outputs.sarifPath }}" || echo "File not found!"