Skip to content

Commit 2528085

Browse files
committed
Add github token to gh cli command
1 parent e317de6 commit 2528085

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
steps:
2424
- name: Get the latest release tag name
2525
if: env.version == ''
26+
env:
27+
GH_TOKEN: ${{ github.token }}
2628
run: echo "version=$(gh release view --repo rust-lang/rust --json tagName --jq '.tagName')" >> "$GITHUB_ENV"
2729

2830
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)