forgejo-runner

git clone git://git.lin.moe/forgejo-runner.git

 1// Copyright 2022 The Gitea Authors. All rights reserved.
 2// SPDX-License-Identifier: MIT
 3
 4package main
 5
 6import (
 7	"context"
 8	"os/signal"
 9	"syscall"
10
11	"gitea.com/gitea/act_runner/internal/app/cmd"
12)
13
14func main() {
15	ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
16	defer stop()
17	// run the command
18	cmd.Execute(ctx)
19}