Skip to content

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

Add `GITHUB_TOKEN` to GitHub CLI step (#1103)

Dhruv Bhanushalid7633771c3ae
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 997a70703..234981fd3 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -756,6 +756,8 @@ jobs:
- name: Dispatch workflow
run: "gh workflow run 'Deployment: staging-nuxt' -f tag=${{ needs.get-image-tag.outputs.image_tag }}"
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
deploy-api:
name: Deploy staging API
@@ -775,3 +777,5 @@ jobs:
- name: Dispatch workflow
run: "gh workflow run 'Deployment: staging-api' -f tag=${{ needs.get-image-tag.outputs.image_tag }}"
+ env:
+ GITHUB_TOKEN: ${{ github.token }}