Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Pass the GitHub token to the docs-check CI steps (#5641)
Konstantin Obenland434f9a54b8a1
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 8b8981590..13536ff6e 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -314,6 +314,8 @@ jobs:setup_images: upstream_db catalog- name: Check generated documentation+ env:+ GITHUB_TOKEN: ${{ github.token }}run: |just catalog/generate-docs dag truejust catalog/generate-docs media-props true@@ -571,6 +573,7 @@ jobs:run: just ${{ matrix.recipe }}env:DC_USER: root+ GITHUB_TOKEN: ${{ github.token }}- name: Upload schemaif: matrix.name == 'test_doc'@@ -807,6 +810,8 @@ jobs:- name: Run check reciperun: just ${{ matrix.recipe }}+ env:+ GITHUB_TOKEN: ${{ github.token }}# This job runs when `nuxt-checks` doesn't and always passes, thus allowing# PRs to meet the required checks criteria and be merged.