Skip to content

fix: add git credentials for tag push in release workflow (#217) #155

fix: add git credentials for tag push in release workflow (#217)

fix: add git credentials for tag push in release workflow (#217) #155

Workflow file for this run

name: Nightly Release
permissions:
contents: read
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
nightly:

Check failure on line 16 in .github/workflows/nightly.yml

View workflow run for this annotation

GitHub Actions / Nightly Release

Invalid workflow file

The workflow is not valid. .github/workflows/nightly.yml (Line: 16, Col: 3): Error calling workflow 'Checkmarx/ast-cli-javascript-wrapper-runtime-cli/.github/workflows/release.yml@main'. The nested job 'delete' is requesting 'contents: write, packages: write', but is only allowed 'contents: read, packages: none'. .github/workflows/nightly.yml (Line: 16, Col: 3): Error calling workflow 'Checkmarx/ast-cli-javascript-wrapper-runtime-cli/.github/workflows/release.yml@main'. The nested job 'release' is requesting 'contents: write, packages: write, id-token: write', but is only allowed 'contents: read, packages: none, id-token: none'.
uses: Checkmarx/ast-cli-javascript-wrapper-runtime-cli/.github/workflows/release.yml@main # zizmor: ignore[unpinned-uses]
secrets: inherit # zizmor: ignore[secrets-inherit]