Skip to content

Commit d4e79ef

Browse files
committed
Use token input option instead of environment variable
1 parent c043cc1 commit d4e79ef

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: taiki-e/github-actions/update-dependabot-pr@main
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
changelog: CHANGELOG.md
3737
title: $version
3838
branch: main
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
token: ${{ secrets.GITHUB_TOKEN }}
4140
- run: cargo publish
4241
env:
4342
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)