Skip to content

Commit 36077a8

Browse files
author
Tony Worm
committed
hof/ci: update env var for dagger workflow
1 parent 076c0e6 commit 36077a8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/dagger.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Install Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.21.x
17+
go-version: 1.23.x
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020
- name: Setup Vars
@@ -86,7 +86,7 @@ jobs:
8686
- name: hof-in-dagger
8787
run: go run ./test/dagger/main/hof.go
8888
env:
89-
GITHUB_TOKEN: ${{secrets.HOF_HOMEBREW_PAT}}
89+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
9090
GITLAB_TOKEN: ${{secrets.GITLAB_TOKEN}}
9191
BITBUCKET_USERNAME: hofstadter
9292
BITBUCKET_PASSWORD: ${{secrets.BITBUCKET_TOKEN}}

ci/gha/common/steps.cue

+3
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ Steps: {
227227
"restore-keys": "${{ runner.os }}-dagger-"
228228
}
229229
}
230+
env: {
231+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
232+
}
230233
}
231234

232235
gcloud: {

ci/gha/dagger.cue

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ghacue.#Workflow & {
5858
name: "hof-in-dagger"
5959
run: "go run ./test/dagger/main/hof.go"
6060
env: {
61-
GITHUB_TOKEN: "${{secrets.HOF_HOMEBREW_PAT}}"
61+
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
6262
GITLAB_TOKEN: "${{secrets.GITLAB_TOKEN}}"
6363
BITBUCKET_USERNAME: "hofstadter"
6464
BITBUCKET_PASSWORD: "${{secrets.BITBUCKET_TOKEN}}"

0 commit comments

Comments
 (0)