Skip to content

Commit 5dc3d35

Browse files
committed
feat: added CHECKOUT_TOKEN support to go-test and go-check workflows
1 parent cf95652 commit 5dc3d35

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/go-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
required: false
1313
type: boolean
1414
default: false
15+
secrets:
16+
CHECKOUT_TOKEN:
17+
required: false
1518

1619
jobs:
1720
unit:
@@ -22,6 +25,7 @@ jobs:
2225
uses: actions/checkout@v5
2326
with:
2427
submodules: recursive
28+
token: ${{ secrets.CHECKOUT_TOKEN }}
2529
- name: Extend the GitHub context
2630
id: github
2731
env:

.github/workflows/go-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
secrets:
1414
CODECOV_TOKEN:
1515
required: false
16+
CHECKOUT_TOKEN:
17+
required: false
1618

1719
defaults:
1820
run:
@@ -43,6 +45,7 @@ jobs:
4345
uses: actions/checkout@v5
4446
with:
4547
submodules: recursive
48+
token: ${{ secrets.CHECKOUT_TOKEN }}
4649
- name: Check out the latest stable version of Go
4750
id: stable
4851
uses: actions/setup-go@v5

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8+
### Added
9+
- `CHECKOUT_TOKEN` support to `go-test` and `go-check` workflows
810

911
## [1.0.34] - 2025-09-16
1012
### Fixed

0 commit comments

Comments
 (0)