1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-06 17:40:58 +00:00

[FORGEJO] Revert "Don't set GITHUB_TOKEN (#2089)"

It is a breaking change.

This reverts commit d2b2ed2d66.
This commit is contained in:
Earl Warren 2024-03-11 17:46:38 +07:00
parent 0d8856b0ce
commit 18b78d6299
2 changed files with 2 additions and 0 deletions

View file

@ -182,6 +182,7 @@ func TestSetupEnv(t *testing.T) {
"GITHUB_RUN_ID": "runId",
"GITHUB_RUN_NUMBER": "1",
"GITHUB_SERVER_URL": "https://",
"GITHUB_TOKEN": "",
"GITHUB_WORKFLOW": "",
"INPUT_STEP_WITH": "with-value",
"RC_KEY": "rcvalue",