Skip to content

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

Use the `issue.node_id` for GraphQL API (#1031)

Olga Bulatfc3329caedd7
diff --git a/.github/workflows/new_issues.yml b/.github/workflows/new_issues.yml
index 823becaae..b30cfd7f5 100644
--- a/.github/workflows/new_issues.yml
+++ b/.github/workflows/new_issues.yml
@@ -7,7 +7,7 @@ on:
- opened
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- ISSUE_ID: ${{ github.event.issue.id }}
+ ISSUE_ID: ${{ github.event.issue.node_id }} # The global issue ID that works in both REST and GraphQL APIs.
PROJECT_ID: "PVT_kwDOAAQ2Js4AMZdL" # The ID for the Openverse project (#75).
jobs: