Skip to content

Commit

Permalink
Merge pull request #51 from dependabot/brrygrdn/pass-through-actions-…
Browse files Browse the repository at this point in the history
…envvar

Pass the GITHUB_ACTIONS envvar into containers
  • Loading branch information
Barry Gordon authored and GitHub committed Nov 24, 2021
2 parents a73520a + 0536c20 commit 935d321
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/main/index.js

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

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/updater-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class UpdaterBuilder {
AttachStdout: true,
AttachStderr: true,
Env: [
`GITHUB_ACTIONS=${process.env.GITHUB_ACTIONS}`,
`DEPENDABOT_JOB_ID=${this.jobParams.jobId}`,
`DEPENDABOT_JOB_TOKEN=${this.jobParams.jobToken}`,
`DEPENDABOT_JOB_PATH=${JOB_INPUT_PATH}/${JOB_INPUT_FILENAME}`,
Expand Down

0 comments on commit 935d321

Please sign in to comment.