Skip to content

Commit 1dfbe02

Browse files
Add printenv command to CodeQL analysis steps for environment debugging
1 parent 1b1d596 commit 1dfbe02

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

azure_pipelines/codeql_analysis_pr.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ steps:
2525
2626
- script: |
2727
curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user
28-
# codeql-wrapper --verbose analyze ./monorepo --monorepo --upload-sarif \
29-
# --only-changed-files \
30-
# --base-ref "origin/$(System.PullRequest.TargetBranch)" \
31-
# --ref="$(Build.SourceBranch)" \
32-
# --max-workers 1
33-
printenv
3428
codeql-wrapper --verbose analyze ./monorepo \
3529
--monorepo \
3630
--upload-sarif \

harness/codeql_analysis_pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ pipeline:
4747
GITHUB_TOKEN: <+secrets.getValue("PAT")>
4848
command: |
4949
curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user
50+
printenv
5051
codeql-wrapper --verbose analyze ./monorepo \
5152
--monorepo \
5253
--upload-sarif \

0 commit comments

Comments
 (0)