Skip to content

Commit 9b56f37

Browse files
authored
dependabot-auto-merge: Use github.token instead of secrets.GITHUB_TOKEN (#69)
1 parent 7993235 commit 9b56f37

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/dependabot-auto-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
id: dependabot-metadata
2525
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
2626
with:
27-
github-token: "${{ secrets.GITHUB_TOKEN }}"
27+
github-token: "${{ github.token }}"
2828

2929
- if: |
3030
(steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor')
3131
|| (steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch')
3232
run: gh pr merge --auto --squash "$PR_URL"
3333
env:
34-
PR_URL: ${{github.event.pull_request.html_url}}
35-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
PR_URL: ${{ github.event.pull_request.html_url }}
35+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)