Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update ci to use github.token (#1123)
Sumit Kashyap089bfaa6986d
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.ymlindex c6668ac3f..8693e176d 100644--- a/.github/actions/setup-env/action.yml+++ b/.github/actions/setup-env/action.yml@@ -14,10 +14,6 @@ inputs:default: "true"description: Whether to install dependencies using Just- github_token:- required: true- description: The token to authenticate calls to the GitHub API-install_recipe:default: "install"description: The recipe to use to install dependencies@@ -29,7 +25,7 @@ runs:- name: Setup justuses: extractions/setup-just@v1env:- GITHUB_TOKEN: ${{ inputs.github_token }}+ GITHUB_TOKEN: ${{ github.token }}# Python- name: Setup Pythondiff --git a/.github/workflows/bundle_size.yml b/.github/workflows/bundle_size.ymlindex 16e385e61..7d60387cd 100644--- a/.github/workflows/bundle_size.yml+++ b/.github/workflows/bundle_size.yml@@ -44,7 +44,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-installdiff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 0c3b2577a..6ee14fef0 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -129,7 +129,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}# Python is not needed to run pre-commit.setup_python: false# Node.js is needed by lint actions.@@ -196,7 +195,6 @@ jobs:if: matrix.image == 'frontend'uses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: false# Python is not needed to build the image.install_recipe: node-install@@ -260,7 +258,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}# Python is needed to run the test.setup_nodejs: false# Node.js is not needed to run ingestion server tests.@@ -305,7 +302,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: false# Python is not needed to run the tests.setup_nodejs: false@@ -357,7 +353,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: false# Python is not needed to run the tests.setup_nodejs: false@@ -418,7 +413,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-install@@ -440,7 +434,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-install@@ -462,7 +455,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-install@@ -499,7 +491,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-install@@ -613,8 +604,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-env- with:- github_token: ${{ secrets.GITHUB_TOKEN }}- name: Compile documentationuses: ./.github/actions/build-docs@@ -650,7 +639,6 @@ jobs:- name: Deployuses: peaceiris/actions-gh-pages@v3with:- github_token: ${{ secrets.GITHUB_TOKEN }}publish_dir: /tmp/gh-pagesforce_orphan: truecname: docs.openverse.orgdiff --git a/.github/workflows/generate_pot.yml b/.github/workflows/generate_pot.ymlindex 8a92a5848..1427aaf9d 100644--- a/.github/workflows/generate_pot.yml+++ b/.github/workflows/generate_pot.yml@@ -23,7 +23,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-installdiff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex be798d95a..8bdd76851 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -117,7 +117,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}# Python is not needed to run pre-commit.setup_python: false# Node.js is needed by lint actions.diff --git a/.github/workflows/weekly_updates.yml b/.github/workflows/weekly_updates.ymlindex f04b8538f..e353d5ab2 100644--- a/.github/workflows/weekly_updates.yml+++ b/.github/workflows/weekly_updates.yml@@ -22,7 +22,6 @@ jobs:- name: Setup CI envuses: ./.github/actions/setup-envwith:- github_token: ${{ secrets.GITHUB_TOKEN }}setup_python: falseinstall_recipe: node-install