Skip to content

Commit 37ad7ae

Browse files
mfelscheLicenser
authored andcommitted
use the github provided token.
Details: https://docs.github.com/en/actions/security-guides/automatic-token-authentication Signed-off-by: Matthias Wahl <[email protected]>
1 parent 943f598 commit 37ad7ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/draft-new-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
profile: minimal
2828
toolchain: stable
29-
- uses: Swatinem/rust-cache@v1
29+
- uses: Swatinem/rust-cache@v2
3030
- name: Install cargo-edit
3131
uses: actions-rs/[email protected]
3232
with:
@@ -68,4 +68,4 @@ jobs:
6868
run: |
6969
gh pr create -B main --title "Release-v${{ env.NEW }}" --body "Yay release" --label "Release"
7070
env:
71-
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
prerelease: ${{env.RC == 'rc'}}
4141
body: ${{ steps.extract-release-notes.outputs.release_notes }}
4242
env:
43-
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
- name: Trigger publish crates workflow
4545
uses: benc-uk/workflow-dispatch@v1
4646
with:
4747
workflow: Publish crates
48-
token: ${{ secrets.PAT_TOKEN }}
48+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)