Skip to content

Commit

Permalink
fix: switch environment to github-api-url-public
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszPorowski committed May 26, 2024
1 parent 201ed64 commit 05c802a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05c802a

Please sign in to comment.