Skip to content

Commit 7011866

Browse files
committed
The url-github.bats test needs a GITHUB_TOKEN
Otherwise it can fail due to rate limits. Signed-off-by: Jan Dubois <jan.dubois@suse.com>
1 parent f9ab640 commit 7011866

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ jobs:
354354
template: templates/default.yaml
355355
- name: "Run BATS integration tests"
356356
run: make bats
357+
env:
358+
# The url-github.bats tests makes GitHub API requests
359+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
357360
- name: Cache image used by templates/k8s.yaml
358361
uses: ./.github/actions/setup_cache_for_template
359362
with:

0 commit comments

Comments
 (0)