Skip to content

Catch deprecated API warnings from tutorial builds #5969

Catch deprecated API warnings from tutorial builds

Catch deprecated API warnings from tutorial builds #5969

name: Build tutorials
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
build:

Check failure on line 14 in .github/workflows/build-tutorials.yml

View workflow run for this annotation

GitHub Actions / Build tutorials

Invalid workflow file

The workflow is not valid. .github/workflows/build-tutorials.yml (Line: 14, Col: 3): Error calling workflow 'pytorch/tutorials/.github/workflows/_build-tutorials-base.yml@a5e0f188d47c86d852f2a23a591c6eec58f8953b'. The nested job 'manager' is requesting 'contents: write, issues: write', but is only allowed 'contents: read, issues: none'.
uses: ./.github/workflows/_build-tutorials-base.yml
secrets: inherit
with:
USE_NIGHTLY: 0
UPLOAD: 1