Skip to content

Updating ast-cli version and binaries 2.3.54 (#485) #206

Updating ast-cli version and binaries 2.3.54 (#485)

Updating ast-cli version and binaries 2.3.54 (#485) #206

Workflow file for this run

name: Nightly Release
on:
push:
branches:
- main
permissions:
contents: read
jobs:
delete_tag:
permissions:
contents: write
runs-on: cx-public-ubuntu-x64
steps:
- name: Delete release and tag
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release delete "1.0.0-SNAPSHOT" --yes --cleanup-tag --repo ${{ github.repository }} || true
nightly:

Check failure on line 23 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: 23, Col: 3): Error calling workflow 'Checkmarx/ast-cli-java-wrapper/.github/workflows/release.yml@main'. The nested job 'release' is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
needs: delete_tag
uses: Checkmarx/ast-cli-java-wrapper/.github/workflows/release.yml@main
with:
tag: "1.0.0-SNAPSHOT"
dev: true
cliTag: "2.0.0-nightly"
secrets: inherit