mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 23:05:45 +00:00
Move actions path outside of workdir (#701)
* feat: add option to specify user for exec * fix: move actions to static path outside workdir Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
490039975f
commit
d794e2fe4c
4 files changed
+19
-17
No files matched your search
@@ -316,6 +316,6 @@ func TestGetGitHubContext(t *testing.T) {
|
||||
assert.Equal(t, ghc.Repository, "nektos/act")
|
||||
assert.Equal(t, ghc.RepositoryOwner, "nektos")
|
||||
assert.Equal(t, ghc.RunnerPerflog, "/dev/null")
|
||||
assert.Equal(t, ghc.EventPath, "/tmp/workflow/event.json")
|
||||
assert.Equal(t, ghc.EventPath, ActPath+"/workflow/event.json")
|
||||
assert.Equal(t, ghc.Token, rc.Config.Secrets["GITHUB_TOKEN"])
|
||||
}
|
||||
Reference in new issue
Block a user