Skip to content

Commit 5e8c524

Browse files
test commit
1 parent b77db00 commit 5e8c524

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/endorlabs.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,19 @@ jobs:
4242
- name: Compile Package
4343
run: mvn clean install
4444

45+
- uses: actions/checkout@v4
46+
with:
47+
repository: "endorlabs/js_vuln_test"
48+
path: js_vuln_test
4549

46-
- name: Endor Labs Call Graph Generation
47-
if: ${{ github.event_name == 'workflow_dispatch' }}
48-
uses: endorlabs/github-action@e4ee275237b23c0071efa2e3966654ee64880a90
50+
- name: Setup with Endor Labs
51+
uses: endorlabs/github-action/[email protected]
4952
with:
5053
namespace: ${{ github.event.inputs.tenant_name }}
51-
scan_summary_output_type: "table"
52-
# pr: "false"
53-
enable_github_action_token: "true"
54-
scan_dependencies: "true"
55-
log_level: "debug"
56-
# scan_secrets: "true"
57-
# scan_git_logs: "true"
58-
additional_args: "--call-graph-languages=javascript,typescript"
54+
enable_github_action_token: true
55+
56+
- name: Endor Labs Call Graph Generation
57+
if: ${{ github.event_name == 'workflow_dispatch' }}
58+
run: |
59+
env
60+
ENDOR_JS_ENABLE_TSSERVER=true endorctl scan --log-level debug --verbose --call-graph-languages=javascript,typescript --languages=javascript,typescript --path $GITHUB_WORKSPACE/js_vuln_test

0 commit comments

Comments
 (0)