We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb87ed commit 5e540d5Copy full SHA for 5e540d5
.github/workflows/test.yml
@@ -102,6 +102,16 @@ jobs:
102
repository: check-spelling/.github
103
trace: 1
104
105
+ - name: no hostname
106
+ id: no-hostname
107
+ continue-on-error: true
108
+ uses: ./action
109
+ with:
110
+ repository: check-spelling/.github
111
+ trace: 1
112
+ env:
113
+ GH_API_URL: http://a..a
114
+
115
- name: check add to path
116
shell: bash
117
run: |
gh-program-downloader
@@ -29,7 +29,7 @@ curl_handle_error() {
29
}
30
31
list_releases() {
32
- releases_url_base="$GITHUB_API_URL/repos/$repo/releases"
+ releases_url_base="${GH_API_URL:-$GITHUB_API_URL}/repos/$repo/releases"
33
if [ -n "$version" ]; then
34
releases_url="$releases_url_base/tags/$version"
35
else
0 commit comments