mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 08:10:30 +00:00
GitHub Enterprise support (#658)
* Add option to specify custom GitHub instance * Use correct GHE API endpoint URLs Co-authored-by: Markus Wolf <[email protected]> * Extract slug from GitHub Enterprise URLs Co-authored-by: Markus Wolf <[email protected]> * Use GITHUB_TOKEN for clone authenticate if provided This change will allow use authentication for cloning actions from private repositories or github enterprise instances. Co-Authored-By: Markus Wolf <[email protected]> * Add section about using act on GitHub Enterprise to README Co-authored-by: Markus Wolf <[email protected]> * Set GitHubInstance in runnerConfig in runner_test Co-authored-by: Markus Wolf <[email protected]> Co-authored-by: hackercat <[email protected]> Co-authored-by: Markus Wolf <[email protected]>
This commit is contained in:
9 files changed
+68
-17
No files matched your search
@@ -38,6 +38,7 @@ type Config struct {
|
||||
UsernsMode string // user namespace to use
|
||||
ContainerArchitecture string // Desired OS/architecture platform for running containers
|
||||
UseGitIgnore bool // controls if paths in .gitignore should not be copied into container, default true
|
||||
GitHubInstance string // GitHub instance to use, default "github.com"
|
||||
}
|
||||
|
||||
// Resolves the equivalent host path inside the container
|
||||
|
||||
Reference in new issue
Block a user