Skip to content

[GHA] testing workflow secret inheritance #3

[GHA] testing workflow secret inheritance

[GHA] testing workflow secret inheritance #3

name: Nightly Cron test inherit secrets
on:
workflow_dispatch:
pull_request:
branches: [ main ]
jobs:
publish-latest-website:

Check failure on line 10 in .github/workflows/nightly-test-inherit.yml

View workflow run for this annotation

GitHub Actions / Nightly Cron test inherit secrets

Invalid workflow file

The workflow is not valid. .github/workflows/nightly-test-inherit.yml (Line: 10, Col: 3): Error calling workflow 'CristianLara/botorch/.github/workflows/publish_website.yml@f7f4342de8f60b395c2abe48210d251f1d8bec38'. The nested job 'deploy-website' is requesting 'pages: write, id-token: write', but is only allowed 'pages: none, id-token: none'.
name: Publish latest website
uses: ./.github/workflows/publish_website.yml
secrets: inherit