Skip to content

Commit cabb70b

Browse files
committed
fix: Adds debugging items to dependabot workflow.
1 parent 201001e commit cabb70b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/dependabot.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ permissions:
2222
jobs:
2323
dependabot:
2424
runs-on: ubuntu-latest
25-
if: ${{ github.actor == 'dependabot[bot]' }}
2625
env:
2726
PR_URL: ${{ github.event.pull_request.html_url }}
28-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GH_TOKEN: ${{ github.token }}
2928
steps:
29+
- name: Check gh CLI
30+
run: gh --version
31+
- name: Debug Event
32+
run: echo "Event ${{ github.event_name }}"
3033
- name: approve
34+
env:
35+
GH_TOKEN: ${{ github.token }}
3136
run: gh pr review --approve "$PR_URL"
3237
- name: merge
3338
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 commit comments

Comments
 (0)