Skip to content

Commit 652632b

Browse files
committed
fixed repolinter
1 parent 1c984b8 commit 652632b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/repolinter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/github-script@v6
1919
with:
2020
script: |
21-
const data = await github.repos.get(context.repo)
21+
const data = await github.rest.repos.get(context.repo)
2222
return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
2323
- name: Checkout Self
2424
if: ${{ steps.default-branch.outputs.result == 'true' }}

0 commit comments

Comments
 (0)