From e717cf1339b584cc4b5ed7aff708988f32ced213 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 12 Dec 2024 13:36:18 +0800 Subject: [PATCH] ci: update token --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8a0688..1f40920 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,5 @@ name: Release -permissions: - pull-requests: write - contents: write - on: push: branches: @@ -17,14 +13,18 @@ jobs: release-plz: name: Release-plz runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write steps: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.OXC_BOT_PAT }} - uses: Boshen/setup-rust@main - uses: MarcoIeni/release-plz-action@v0.5 env: - GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OXC_BOT_PAT }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}