Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Prepare Vivid for release

permissions:
contents: read
contents: write
packages: read

on:
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

permissions:
contents: read
packages: read
packages: write

Check warning on line 5 in .github/workflows/release.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Move this write permission from workflow level to job level.

See more on https://sonarcloud.io/project/issues?id=Vonage_vivid&issues=AZ4XrpLCtdFXrzKU0G0L&open=AZ4XrpLCtdFXrzKU0G0L&pullRequest=1460

concurrency: ${{ github.workflow }}

on:
push:
tags:
- v*
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -48,7 +49,7 @@
- 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
Expand Down
Loading