diff --git a/.github/workflows/release-prepare.yml b/.github/workflows/release-prepare.yml index 135e26b4e..685f24f01 100644 --- a/.github/workflows/release-prepare.yml +++ b/.github/workflows/release-prepare.yml @@ -1,7 +1,7 @@ name: Prepare Vivid for release permissions: - contents: read + contents: write packages: read on: @@ -23,7 +23,7 @@ jobs: with: fetch-depth: 0 ref: master - token: ${{ secrets.VNG_VVD_PAT }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Use Node.js 24 uses: actions/setup-node@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d49ae4ba..b76fad979 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release permissions: contents: read - packages: read + packages: write concurrency: ${{ github.workflow }} @@ -10,6 +10,7 @@ on: push: tags: - v* + workflow_dispatch: jobs: build: @@ -48,7 +49,7 @@ jobs: - npm include: - registry: github - token_secret: VNG_VVD_PAT + token_secret: GITHUB_TOKEN host: npm.pkg.github.com - registry: npm token_secret: NPM_AUTH_TOKEN