Skip to content

Commit e49a811

Browse files
committed
ci: apply default GITHUB_TOKEN to release job environment
1 parent 135aef8 commit e49a811

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
release:
1212
runs-on: ubuntu-latest
1313

14+
env:
15+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
VSCE_PAT: ${{ secrets.AZUREDEVOPS_PAT }}
18+
1419
steps:
1520
- uses: actions/checkout@v3
1621

@@ -27,6 +32,3 @@ jobs:
2732

2833
- name: "Semantic Release"
2934
run: npx semantic-release --dry-run
30-
env:
31-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
32-
VSCE_PAT: ${{ secrets.AZUREDEVOPS_PAT }}

0 commit comments

Comments
 (0)