From 1b3e1c981e7ee6c85b20c85ca73f1a6d6d474f36 Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Sat, 27 Apr 2024 19:15:19 +0300 Subject: [PATCH] cleanup: Add GitHub Token --- .github/workflows/weekly-release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/weekly-release.yml b/.github/workflows/weekly-release.yml index 1462409..c28a514 100644 --- a/.github/workflows/weekly-release.yml +++ b/.github/workflows/weekly-release.yml @@ -1,9 +1,12 @@ name: Weekly Release on: - workflow_dispatch: - schedule: - - cron: '0 16 * * 6' + workflow_dispatch: + schedule: + - cron: "0 16 * * 6" + +env: + token: ${{ secrets.GITHUB_TOKEN }} jobs: release: @@ -20,7 +23,7 @@ jobs: - name: Remove version suffix run: | - sed -i 's/"version": "\([0-9]\+\.[0-9]\+\.[0-9]\+\)-[0-9]\+",/"version": "\1",/g' package.json + sed -i 's/"version": "\([0-9]\+\.[0-9]\+\.[0-9]\+\)-[0-9]\+",/"version": "\1",/g' package.json - name: Update CHANGELOG.md run: |