Skip to content

Commit 7bca26b

Browse files
aosakwecursoragent
andcommitted
[fix] Use context.repo and Node 24 actions in stats workflow
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fe3a9ef commit 7bca26b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/update-org-stats.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121

2222
- name: Recompute stats and push badge updates to main
23-
uses: actions/github-script@v7
23+
uses: actions/github-script@v8
2424
with:
2525
github-token: ${{ secrets.GH_ORG_SYNC_TOKEN || github.token }}
2626
script: |
@@ -36,8 +36,8 @@ jobs:
3636
const readmePath = 'profile/README.md';
3737
const badgeStart = '<!-- org-stats-badges -->';
3838
const badgeEnd = '<!-- /org-stats-badges -->';
39-
const owner = github.context.repo.owner;
40-
const repoName = github.context.repo.repo;
39+
const owner = context.repo.owner;
40+
const repoName = context.repo.repo;
4141
4242
function isBot(contributor) {
4343
if (!contributor?.login) return true;

0 commit comments

Comments
 (0)