mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
feat: export runtime token as FORGEJO_TOKEN
This commit is contained in:
parent
cf74c364fb
commit
606d8701ed
2 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,7 @@ func TestGetGitHubContext(t *testing.T) {
|
|||
assert.Equal(t, ghc.RepositoryOwner, owner)
|
||||
assert.Equal(t, ghc.RunnerPerflog, "/dev/null")
|
||||
assert.Equal(t, ghc.Token, rc.Config.Secrets["GITHUB_TOKEN"])
|
||||
assert.Equal(t, ghc.Token, rc.Config.Secrets["FORGEJO_TOKEN"])
|
||||
assert.Equal(t, ghc.Job, "job1")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue