From 1f28a6f0c57601f15ff17812af97228f3ab1224f Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Tue, 16 Jan 2024 11:46:47 +0000 Subject: [PATCH] we cannot cleanup generated files outside action nothing added to commit but untracked files present (use "git add" to track) Cleanup generated files warning: failed to remove dev_releases/create-bosh-release-action-test-boshrelease/index.yml: Permission denied Removing create-bosh-release-action-test-boshrelease-fix-github-actions.tgz warning: failed to remove dev_releases/create-bosh-release-action-test-boshrelease/create-bosh-release-action-test-boshrelease-0+dev.1705403538.yml: Permission denied --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index aeb36da..5ff5f38 100644 --- a/action.yml +++ b/action.yml @@ -6,11 +6,11 @@ inputs: repository: description: "Github repository used to publish releases." required: false - default: ${GITHUB_REPOSITORY} + default: ${{github.repository}} token: description: "Github token used to push changes after releasing" required: false - default: ${GITHUB_TOKEN} + default: ${{github.token}} target_branch: description: "Branch name to push release commit" required: false