We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73490b9 commit 3666fd7Copy full SHA for 3666fd7
.github/workflows/update_citing_papers.yaml
@@ -34,6 +34,9 @@ jobs:
34
run: sudo apt-get install jq
35
- name: Do update
36
run: |
37
+ # disable exit on nonzero exit code - when we no longer have a next link, grep returns 1
38
+ set +e
39
+
40
curl https://api.zotero.org/groups/${{ env.ORG_KEY }}/collections/${{ env.COLLECTION_KEY }}/items/top\?limit\=100 -D headers.txt -H "Authorization: Bearer ${{ secrets.ZOTERO_READONLY }}" > tmp_items_0.json
41
grep last-modified-version headers.txt | cut -d" " -f2 > last_modified_version
42
0 commit comments