We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f19e10 commit ae222edCopy full SHA for ae222ed
2 files changed
.github/workflows/data-processing.yml
@@ -68,7 +68,7 @@ jobs:
68
continue-on-error: true # Continue even if this step fails
69
run: python3 scripts/gs-cite/google_scholar.py
70
env:
71
- SERPAI: ${{ secrets.SERPAPI }}
+ SERPAPI: ${{ secrets.SERPAPI }}
72
73
- name: Upload data artifact
74
uses: actions/upload-artifact@v4
scripts/gs-cite/google_scholar.py
@@ -6,7 +6,7 @@
6
# Load API key from environment variable
7
api_key = os.getenv("SERPAPI")
8
9
-if api_key is None:
+if not api_key:
10
raise ValueError("API key is missing. Please set the SERPAPI environment variable.")
11
12
# Define the request URL
0 commit comments