Skip to content

Nightly Release

Nightly Release #208

Workflow file for this run

name: Nightly Release
on:
workflow_dispatch: # push disabled — re-enable when nightly is ready
# 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 24 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: 24, Col: 3): Error calling workflow 'Checkmarx/ast-cli-java-wrapper/.github/workflows/release.yml@8e107dc0222f47ca82e43df28c227bdf2d78379f'. The nested job 'release' is requesting 'contents: write, id-token: write', but is only allowed 'contents: read, id-token: none'.
needs: delete_tag
uses: ./.github/workflows/release.yml
with:
tag: "1.0.0-SNAPSHOT"
dev: true
cliTag: "2.0.0-nightly"
secrets:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}