From 9e1c9ee743aae46280145cd0752787e1e7520400 Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Thu, 7 Oct 2021 15:26:37 +0530 Subject: [PATCH 1/2] Bind working directory --- plugin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.go b/plugin.go index a46473f..d8c691e 100644 --- a/plugin.go +++ b/plugin.go @@ -47,6 +47,7 @@ func (p Plugin) Exec() error { workflowFile, "-P", fmt.Sprintf("ubuntu-latest=%s", p.Action.Image), + "-b", "--detect-event", } From 36dedf206a61534fccd30b5e07120e40db656d94 Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Thu, 7 Oct 2021 15:27:36 +0530 Subject: [PATCH 2/2] fixed readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ad8559..fd47bde 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,8 @@ steps: docker run --rm \ --privileged \ - -w /drone \ + -v $(pwd):/drone \ + -w /drone \ -e PLUGIN_USES="actions/hello-world-javascript-action@v1.1" \ -e PLUGIN_WITH="{\"who-to-greet\":\"Mona the Octocat\"}" \ -e PLUGIN_VERBOSE=true \