diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index 04e5cfe..b1036b1 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -48,6 +48,7 @@ jobs: id: test_final_release uses: ./create-bosh-release-action/ # uses: ./.github/actions/my-private-repo/my-action #https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-an-action-inside-a-different-private-repository-than-the-workflow with: + repository: orange-cloudfoundry/create-bosh-release-action-test-boshrelease target_branch: main dir: create-bosh-release-action-test-boshrelease tag_name: "0.1.0" diff --git a/entrypoint.sh b/entrypoint.sh index 4857177..2ec6e8f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -39,7 +39,6 @@ fi if [ "$INPUT_DEBUG" -ne 0 ];then echo "Current files before release creation:" - echo "Current files:" ls -l fi @@ -53,7 +52,7 @@ if [ "${name}" = "null" ]; then name=$(yq -r .name config/final.yml) fi -remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" +remote_repo="https://${GITHUB_ACTOR}:${INPUT_TOKEN}@${GITHUB_SERVER_URL#https://}/${INPUT_REPOSITORY}.git" # configure git git config --global user.name "actions/bosh-packager@v2"