Skip to content

Commit 04a486a

Browse files
authored
fix: extend existing environment when invoking syft instead of creating a new one (#455)
Signed-off-by: Noah Krause <[email protected]>
1 parent ab5d7b5 commit 04a486a

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

DEVELOPING.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ If you would like to get more extensive debug logging, it is
88
possible to enable this as [described here](https://github.com/actions/toolkit/blob/master/docs/action-debugging.md)
99
by setting a secret in your repository of `ACTIONS_STEP_DEBUG` to `true`.
1010

11+
## Update `dist/`
12+
13+
Updates to `dist/` and handled via a commit hook. Install the hook by running `npm install`.
14+
1115
## Tests
1216

1317
To run tests locally, you will need a local docker instance and registry along with a few

dist/attachReleaseAssets/index.js

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/downloadSyft/index.js

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/runSyftAction/index.js

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github/SyftGithubAction.ts

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ async function executeSyft({
109109
const cmd = await getSyftCommand();
110110

111111
const env: { [key: string]: string } = {
112+
...process.env,
112113
SYFT_CHECK_FOR_APP_UPDATE: "false",
113114
};
114115

0 commit comments

Comments
 (0)