Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Use authenticated GitHub requests to set up pre-commit (#3416)

Dhruv Bhanushali5663fe7161da
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index c404296ab..9ee329c97 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -112,6 +112,8 @@ jobs:
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit to lint files
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
run: |
just precommit
just lint