File tree Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Expand file tree Collapse file tree 5 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 41
41
42
42
- if : ${{ inputs.canary }}
43
43
name : " Init (canary): retrieve GO_VERSION"
44
+ env :
45
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
46
run : |
45
47
. ./hack/github/action-helpers.sh
46
48
latest_go="$(. ./hack/provisioning/version/fetch.sh; go::canary::for::go-setup)"
Original file line number Diff line number Diff line change 45
45
46
46
- if : ${{ inputs.canary }}
47
47
name : " Init (canary): retrieve GO_VERSION"
48
+ env :
49
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
50
run : |
49
51
latest_go="$(. ./hack/provisioning/version/fetch.sh; go::canary::for::go-setup)"
50
52
printf "GO_VERSION=%s\n" "$latest_go" >> "$GITHUB_ENV"
Original file line number Diff line number Diff line change 77
77
78
78
- if : ${{ inputs.canary }}
79
79
name : " Init (canary): retrieve latest go and containerd"
80
+ env :
81
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80
82
run : |
81
83
latest_go="$(. ./hack/provisioning/version/fetch.sh; go::canary::for::go-setup)"
82
84
latest_containerd="$(. ./hack/provisioning/version/fetch.sh; github::project::latest "containerd/containerd")"
Original file line number Diff line number Diff line change 53
53
# If canary is requested, check for the latest unstable release
54
54
- if : ${{ inputs.canary }}
55
55
name : " Init (canary): retrieve GO_VERSION"
56
+ env :
57
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56
58
run : |
57
59
latest_go="$(. ./hack/provisioning/version/fetch.sh; go::canary::for::go-setup)"
58
60
printf "GO_VERSION=%s\n" "$latest_go" >> "$GITHUB_ENV"
Original file line number Diff line number Diff line change 37
37
fetch-depth : 100
38
38
- if : ${{ matrix.canary }}
39
39
name : " Init (canary): retrieve GO_VERSION"
40
+ env :
41
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
42
run : |
41
43
latest_go="$(. ./hack/provisioning/version/fetch.sh; go::canary::for::go-setup)"
42
44
printf "GO_VERSION=%s\n" "$latest_go" >> "$GITHUB_ENV"
You can’t perform that action at this time.
0 commit comments