From c5f211a708428a134d1ff10336521c07cb55a0a7 Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Wed, 18 Sep 2024 23:25:00 +0200 Subject: [PATCH] fix(ci): use PAT --- .github/workflows/build_and_upload.yml | 8 +++++--- .github/workflows/release_please.yml | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_upload.yml b/.github/workflows/build_and_upload.yml index 3775c6c..249fbf7 100644 --- a/.github/workflows/build_and_upload.yml +++ b/.github/workflows/build_and_upload.yml @@ -1,9 +1,11 @@ name: ship binaries +permissions: + contents: write + on: - push: - tags: - - v[0-9]+.* + release: + types: [created] jobs: upload-assets: diff --git a/.github/workflows/release_please.yml b/.github/workflows/release_please.yml index 4b4f6d0..ab7ff3f 100644 --- a/.github/workflows/release_please.yml +++ b/.github/workflows/release_please.yml @@ -17,3 +17,4 @@ jobs: with: repo-url: mdn/rari manifest-file: .release-please-manifest.json + token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}