mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Remove trailing / from inputs
This commit is contained in:
parent
8df72cd04e
commit
b7d983cc78
1 changed files with 2 additions and 2 deletions
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
|
|
@ -267,7 +267,7 @@ jobs:
|
||||||
name: base-url set
|
name: base-url set
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
base-url: https://my.github-enterprise-server.com/api/v3/
|
base-url: https://my.github-enterprise-server.com/api/v3
|
||||||
script: |
|
script: |
|
||||||
const endpoint = github.request.endpoint
|
const endpoint = github.request.endpoint
|
||||||
return endpoint({}).url
|
return endpoint({}).url
|
||||||
|
|
@ -276,7 +276,7 @@ jobs:
|
||||||
name: base-url does not override GITHUB_API_URL when not set
|
name: base-url does not override GITHUB_API_URL when not set
|
||||||
uses: ./
|
uses: ./
|
||||||
env:
|
env:
|
||||||
GITHUB_API_URL: https://my.github-enterprise-server.com/api/v3/
|
GITHUB_API_URL: https://my.github-enterprise-server.com/api/v3
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const endpoint = github.request.endpoint
|
const endpoint = github.request.endpoint
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue