Skip to content

Build and commit documentation #20

Build and commit documentation

Build and commit documentation #20

on:
push:
branches: ['main']
workflow_dispatch: {}
name: Build and commit documentation
permissions:
contents: write
pull-requests: write
jobs:
build-docs:

Check failure on line 13 in .github/workflows/build_and_commit_docs.yml

View workflow run for this annotation

GitHub Actions / Build and commit documentation

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_commit_docs.yml (Line: 13, Col: 3): Error calling workflow 'mongodb/node-mongodb-native/.github/workflows/build.yml@d84e6ac0715528a169a1dc1b407a1f45ec8d6698'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
# prevent subsequent commits from triggering the job multiple times
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
name: "Build documentation."
uses: ./.github/workflows/build.yml
commit-docs:
needs: [build-docs]
runs-on: ubuntu-latest
steps:
- name: Open Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: 'docs: generate docs from latest main [skip-ci]'
delete-branch: true