From 2a5ba3bc21f24d4354c7b6258b968083aada2aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Van=C3=AD=C4=8Dek?= Date: Mon, 31 Jul 2023 15:01:45 +0200 Subject: [PATCH] FIX imported and not used after patch is applied --- patches/001-workdir-bind.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/patches/001-workdir-bind.patch b/patches/001-workdir-bind.patch index 28c0a86..48b5e2d 100644 --- a/patches/001-workdir-bind.patch +++ b/patches/001-workdir-bind.patch @@ -1,6 +1,17 @@ --- "a/pkg/runner/run_context.go" +++ "b/pkg/runner/run_context.go" -@@ -142,14 +142,7 @@ func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) { +@@ -14,10 +14,8 @@ import ( + "os" + "path/filepath" + "regexp" +- "runtime" + "strings" + +- "github.com/opencontainers/selinux/go-selinux" + + "github.com/nektos/act/pkg/common" + "github.com/nektos/act/pkg/container" +@@ -142,14 +140,7 @@ func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) { } if rc.Config.BindWorkdir {