Skip to content

Nightly Release Branch #92

Nightly Release Branch

Nightly Release Branch #92

name: Nightly Release Branch
on:
# Run daily at 2:30am UTC
schedule:
- cron: '30 2 * * 1-5'
jobs:
increment-version:

Check failure on line 7 in .github/workflows/nightly-release.yml

View workflow run for this annotation

GitHub Actions / Nightly Release Branch

Invalid workflow file

The workflow is not valid. .github/workflows/nightly-release.yml (Line: 7, Col: 3): Error calling workflow 'yaojiu19/lexical/.github/workflows/call-increment-version.yml@a792b1d930c6222cd7c5c120f3d05bb061ecff7e'. The nested job 'release' is requesting 'contents: write', but is only allowed 'contents: read'.
# prevents this action from running on forks
if: github.repository_owner == 'facebook'
uses: ./.github/workflows/call-increment-version.yml
with:
channel: nightly
increment: prerelease
dry-run: false
npm-release:
uses: ./.github/workflows/call-npm-publish.yml
needs: [increment-version]
with:
ref: ${{ needs.increment-version.outputs.tag-ref }}
dry-run: false
channel: nightly
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}