Skip to content

Commit

Permalink
Update dependabot.actions.yml (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
edcheyjr authored Sep 12, 2024
1 parent 6b3e4a5 commit 0c2ae18
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/dependabot.actions.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#Dependabot auto merging
name: Dependabot auto-merging
on: pull_request_target

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
Expand All @@ -13,9 +14,7 @@ jobs:
id: metadata
uses: dependabot/fetch-metadata@v1
with:
alert-lookup: true
compat-lookup: true
github-token: '${{ secrets.DEPENDABOT_TOKEN }}'
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Enable auto-merge for Dependabot PRs
if: |
Expand All @@ -24,4 +23,4 @@ jobs:
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0c2ae18

Please sign in to comment.