Skip to content

Commit fbeff7c

Browse files
committed
fix
Signed-off-by: Yuri Shkuro <[email protected]>
1 parent 6bd288a commit fbeff7c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/actions/setup-go-tip/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Inspired by https://github.com/actions/setup-go/issues/21#issuecomment-997208686
22
name: 'Install Go Tip'
33
description: 'Install Go Tip toolchain'
4+
inputs:
5+
gh_token:
6+
description: 'The GitHub Token'
7+
required: true
48
runs:
59
using: "composite"
610
steps:
@@ -51,7 +55,7 @@ runs:
5155
# echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH"
5256
echo "success=${success}" >> $GITHUB_OUTPUT
5357
env:
54-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
GH_TOKEN: ${{ inputs.gh_token }}
5559

5660
# If download failed, we will try to build tip from source.
5761
# This requires Go toolchain, so install it first.

.github/workflows/ci-unit-tests-go-tip.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929

3030
- name: Install Go Tip
3131
uses: ./.github/actions/setup-go-tip
32+
with:
33+
gh_token: ${{ secrets.GITHUB_TOKEN }}
3234

3335
- name: Install test deps
3436
# even though the same target runs from test-ci, running it separately makes for cleaner log in GH workflow

0 commit comments

Comments
 (0)