Skip to content

Commit d42d71b

Browse files
author
Niraj Bajpai
committed
fix(arxiv): Use result.summary to fix AttributeError
The `arxiv` library has updated its API, and the `Result` object no longer has an `abstract` attribute. This commit updates the `fetch_arxiv_papers.py` script to use the `summary` attribute instead, which fixes the `AttributeError` that was causing the 'arXiv Daily Paper Crawler' workflow to fail. Additionally, this commit updates the `update-starred-repos.yml` workflow to use a Personal Access Token (PAT) instead of the default `GITHUB_TOKEN`, as the default token does not have the required permissions to star repositories.
1 parent 9bb2176 commit d42d71b

File tree

3 files changed

+163
-113
lines changed

3 files changed

+163
-113
lines changed

.github/workflows/update-starred-repos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
uses: actions/checkout@v4
5252
with:
5353
fetch-depth: 0
54-
token: ${{ secrets.GITHUB_TOKEN }}
54+
# Using a PAT because GITHUB_TOKEN lacks permissions to star external repos
55+
token: ${{ secrets.ACTION_PAT }}
5556

5657
- name: Set up environment
5758
run: |
@@ -65,7 +66,7 @@ jobs:
6566
6667
- name: Authenticate GitHub CLI
6768
run: |
68-
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
69+
echo "${{ secrets.ACTION_PAT }}" | gh auth login --with-token
6970
gh auth status
7071
7172
- name: Update AI & ML Repositories

jupyter-guide-to-linear-algebra

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 771cf9f9c50c4f2ce867cab7edb2d6ffa0b448ab

0 commit comments

Comments
 (0)