Skip to content

Commit 3666fd7

Browse files
no pipefail
1 parent 73490b9 commit 3666fd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/update_citing_papers.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
run: sudo apt-get install jq
3535
- name: Do update
3636
run: |
37+
# disable exit on nonzero exit code - when we no longer have a next link, grep returns 1
38+
set +e
39+
3740
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
3841
grep last-modified-version headers.txt | cut -d" " -f2 > last_modified_version
3942

0 commit comments

Comments
 (0)