Skip to content

Commit

Permalink
Don't set GITHUB_TOKEN
Browse files Browse the repository at this point in the history
This needs to be explicitly in the `env` to be consistent with GitHub
  • Loading branch information
jenseng committed Nov 11, 2023
1 parent 55b09a0 commit e2c6994
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/runner/run_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,6 @@ func (rc *RunContext) withGithubEnv(ctx context.Context, github *model.GithubCon
env["GITHUB_REF"] = github.Ref
env["GITHUB_REF_NAME"] = github.RefName
env["GITHUB_REF_TYPE"] = github.RefType
env["GITHUB_TOKEN"] = github.Token
env["GITHUB_JOB"] = github.Job
env["GITHUB_REPOSITORY_OWNER"] = github.RepositoryOwner
env["GITHUB_RETENTION_DAYS"] = github.RetentionDays
Expand Down

0 comments on commit e2c6994

Please sign in to comment.