Skip to content

Merge pull request #356 from plotly/fix-reusable-workflows #8

Merge pull request #356 from plotly/fix-reusable-workflows

Merge pull request #356 from plotly/fix-reusable-workflows #8

Workflow file for this run

name: Generate release
permissions:
contents: read
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:

Check failure on line 10 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Generate release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 10, Col: 3): Error calling workflow 'plotly/dash-ag-grid/.github/workflows/build.yml@db2918d60f68c37013abe02cb139ca84234f7435'. The nested job 'build-and-validate' is requesting 'contents: write', but is only allowed 'contents: read'.
uses: ./.github/workflows/build.yml # Build the package artifacts
with:
python-version: '3.10'
node-version: 'v18.16.0'
release:
runs-on: ubuntu-latest
permissions:
contents: read
needs: build
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Upload GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.whl,dist/*.tar.gz"
draft: true