Skip to content

Commit 1e97b9f

Browse files
committed
Use secrets.GITHUB_TOKEN in Nightly workflow
Looks like `github.token` doesn't work with `workflow_call`
1 parent 1e9fd6d commit 1e97b9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- selenium-devtools
2121
- selenium-webdriver
2222
with:
23-
name: Release ${{ matrix.gem }}
23+
name: Release
2424
cache-key: rb-nightly-${{ matrix.gem }}
2525
run: |
26-
export GEM_HOST_API_KEY="Bearer ${{ github.token }}"
26+
export GEM_HOST_API_KEY="Bearer ${{ secrets.GITHUB_TOKEN }}"
2727
bazel run //rb:${{ matrix.gem }}-bump-nightly-version ${{ inputs.version }}
2828
bazel run //rb:${{ matrix.gem }}-release-nightly

0 commit comments

Comments
 (0)