Skip to content

Commit fe264d2

Browse files
committed
chore: use default gh token to fetch meta data
1 parent 08a11dc commit fe264d2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/auto-merge.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ jobs:
1212
steps:
1313
- name: Dependabot metadata
1414
id: metadata
15-
uses: dependabot/fetch-metadata@v2
15+
uses: dependabot/fetch-metadata@v1
1616
with:
17-
# https://github.com/settings/tokens/new
18-
# Expiration: No expiration
19-
# Select: repo.*
20-
github-token: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}'
17+
github-token: '${{ secrets.GITHUB_TOKEN }}'
2118
- name: Approve PR
2219
run: gh pr review --approve "$PR_URL"
2320
env:

0 commit comments

Comments
 (0)