Skip to content

Commit

Permalink
fix: extend existing environment when invoking syft instead of creati…
Browse files Browse the repository at this point in the history
…ng a new one (#455)

Signed-off-by: Noah Krause <krausenoah@gmail.com>
  • Loading branch information
iNoahNothing committed Mar 27, 2024
1 parent ab5d7b5 commit 04a486a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 4 additions & 0 deletions DEVELOPING.md
Expand Up @@ -8,6 +8,10 @@ If you would like to get more extensive debug logging, it is
possible to enable this as [described here](https://github.com/actions/toolkit/blob/master/docs/action-debugging.md)
by setting a secret in your repository of `ACTIONS_STEP_DEBUG` to `true`.

## Update `dist/`

Updates to `dist/` and handled via a commit hook. Install the hook by running `npm install`.

## Tests

To run tests locally, you will need a local docker instance and registry along with a few
Expand Down
4 changes: 1 addition & 3 deletions dist/attachReleaseAssets/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions dist/downloadSyft/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions dist/runSyftAction/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/github/SyftGithubAction.ts
Expand Up @@ -109,6 +109,7 @@ async function executeSyft({
const cmd = await getSyftCommand();

const env: { [key: string]: string } = {
...process.env,
SYFT_CHECK_FOR_APP_UPDATE: "false",
};

Expand Down

0 comments on commit 04a486a

Please sign in to comment.