Skip to content

Nightly Release Branch #95

Nightly Release Branch

Nightly Release Branch #95

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@8a89c448f38ddb7d5cbd82cf60a0876ac971086e'. 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 }}