Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use the `ACCESS_TOKEN` secret instead of `GITHUB_TOKEN` (#3394)
Dhruv Bhanushalif56ad179f98d
diff --git a/.github/workflows/issue_automations.yml b/.github/workflows/issue_automations.ymlindex 67c62bf24..887b9dbcd 100644--- a/.github/workflows/issue_automations.yml+++ b/.github/workflows/issue_automations.yml@@ -28,7 +28,7 @@ jobs:EVENT_NAME: ${{ github.event_name }}EVENT_ACTION: ${{ github.event.action }}with:- github-token: ${{ secrets.GITHUB_TOKEN }}+ github-token: ${{ secrets.ACCESS_TOKEN }}script: |const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/issues.mjs')await main(github, context)diff --git a/.github/workflows/pr_automations.yml b/.github/workflows/pr_automations.ymlindex a445ba3b5..9bd165b4c 100644--- a/.github/workflows/pr_automations.yml+++ b/.github/workflows/pr_automations.yml@@ -68,7 +68,7 @@ jobs:- name: Perform PR automationsuses: actions/github-script@v7with:- github-token: ${{ secrets.GITHUB_TOKEN }}+ github-token: ${{ secrets.ACCESS_TOKEN }}script: |const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/prs.mjs')await main(github)