Skip to content

Commit 2040c9c

Browse files
authored
dependabot-auto-merge: Use github.token instead of secrets.GITHUB_TOKEN (#64)
1 parent ef64180 commit 2040c9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: dependabot-metadata
4141
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
4242
with:
43-
github-token: "${{ secrets.GITHUB_TOKEN }}"
43+
github-token: "${{ github.token }}"
4444

4545
- if: |
4646
(inputs.major && steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major')
@@ -49,5 +49,5 @@ jobs:
4949
run: gh pr merge --auto "--$STRATEGY" "$PR_URL"
5050
env:
5151
PR_URL: ${{github.event.pull_request.html_url}}
52-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
52+
GH_TOKEN: ${{ github.token }}
5353
STRATEGY: ${{ inputs.strategy }}

0 commit comments

Comments
 (0)