Skip to content

Commit 3b348d9

Browse files
committed
Debug only: print environment variable
1 parent 7567eab commit 3b348d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/check-codescanning-config/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ runs:
6262
- name: Check config
6363
working-directory: ${{ github.action_path }}
6464
shell: bash
65-
run: ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
65+
run: echo "$EXPECTED_CONFIG_FILE_CONTENTS"; ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
6666
- name: Clean up
6767
shell: bash
6868
if: always()

.github/actions/check-codescanning-config/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import * as assert from 'assert'
77
const actualConfig = loadActualConfig()
88

99
const rawExpectedConfig = process.argv[3].trim()
10+
core.info("rawExpectedConfig: " + rawExpectedConfig)
1011
if (!rawExpectedConfig) {
1112
core.setFailed('No expected configuration provided')
1213
} else {

0 commit comments

Comments
 (0)