From 05c802a6afe09097f5e320b78fb0976815a92de3 Mon Sep 17 00:00:00 2001 From: Dariusz Porowski <3431813+DariuszPorowski@users.noreply.github.com> Date: Sun, 26 May 2024 10:02:47 -0700 Subject: [PATCH] fix: switch environment to github-api-url-public --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 2833937..268c861 100644 --- a/action.yml +++ b/action.yml @@ -96,8 +96,8 @@ runs: uses: actions/github-script@v7 id: environment with: - github-token: ${{ inputs.github-token || inputs.token || env.GITHUB_TOKEN }} - base-url: "https://api.github.com" + # github-token: ${{ inputs.github-token || inputs.token || env.GITHUB_TOKEN }} + base-url: ${{ inputs.github-api-url-public }} script: | // input envs const { INPUT_TOOL_NAME, INPUT_TOOL_SEMVER, INPUT_REPO_OWNER, INPUT_REPO_NAME, RUNNER_TEMP } = process.env