Skip to content

Commit a62a74d

Browse files
author
Ubuntu
committed
Test if we can cat scanner or not
1 parent 0dee8e8 commit a62a74d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,3 +304,30 @@ jobs:
304304
run: |
305305
uv run --resolution ${{ matrix.uv-resolution }} \
306306
--exact --group tests pytest --cov --cov-report=term tests/unit_tests
307+
308+
security-scan-test:
309+
runs-on: ubuntu-latest
310+
name: "security-scan-test"
311+
steps:
312+
- name: Generate app token
313+
uses: actions/create-github-app-token@v1
314+
id: app-token
315+
with:
316+
app-id: ${{ secrets.SCAN_APP_ID }}
317+
private-key: ${{ secrets.SCAN_APP_KEY }}
318+
owner: databricks
319+
320+
- name: Checkout scanner
321+
uses: actions/checkout@v4
322+
with:
323+
repository: databricks/gh-action-scan
324+
token: ${{ steps.app-token.outputs.token }}
325+
path: .scan
326+
327+
- name: Verify checkout
328+
run: cat .scan/scan.sh
329+
330+
- name: Run security scan
331+
run: |
332+
chmod +x .scan/scan.sh
333+
.scan/scan.sh --artifact-path . --artifact-name databricks-ai-bridge

0 commit comments

Comments
 (0)