Skip to content

Commit ef8b4c3

Browse files
chore(ci): fallback togithub.token if repo scoped does not exist (#628)
1 parent aab6e56 commit ef8b4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
repository: ${{ github.event.pull_request.head.repo.full_name }}
2222
ref: ${{ github.event.pull_request.head.ref }}
23-
token: ${{ secrets.REPO_SCOPED_TOKEN }}
23+
token: ${{ secrets.REPO_SCOPED_TOKEN || github.token }}
2424

2525
- name: Setup environment
2626
uses: ./.github/actions/setup-environment

0 commit comments

Comments
 (0)