diff --git a/lib/main.js b/lib/main.js index 29cdbed..d216965 100644 --- a/lib/main.js +++ b/lib/main.js @@ -41,7 +41,7 @@ async function run() { // Check for existing tag const git = new github.GitHub(process.env.INPUT_GITHUB_TOKEN || process.env.GITHUB_TOKEN) - const owner = process.env.GITHUB_ACTOR + const owner = process.env.GITHUB_REPOSITORY.split('/').shift() const repo = process.env.GITHUB_REPOSITORY.split('/').pop() let tags