Skip to content

Commit a5eea30

Browse files
authored
.github/workflows/release.yml - Pass GH_TOKEN to gh CLI (#178)
Fix error ``` gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable. Example: env: GH_TOKEN: ${{ github.token }} ```
1 parent d5698ba commit a5eea30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
-this-release HEAD | tee /tmp/release-notes.txt
3636
3737
- name: draft GH release
38+
env:
39+
GH_TOKEN: ${{ github.token }}
3840
run: >-
3941
gh release create "${{ inputs.version }}"
4042
--draft

0 commit comments

Comments
 (0)