Skip to content

Commit cd02c81

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/dependabot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ permissions:
2222
jobs:
2323
dependabot:
2424
runs-on: ubuntu-latest
25-
if: ${{ github.actor == 'dependabot[bot]' }}
25+
if: ${{ github.actor == 'dependabot[bot]' || github.event_name == 'pull_request' }}
2626
env:
2727
PR_URL: ${{ github.event.pull_request.html_url }}
2828
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
steps:
30+
- name: Debug Actor
31+
run: echo "Actor ${{ github.actor }}"
32+
- name: Debug Event
33+
run: echo "Event ${{ github.event_name }}"
3034
- name: approve
3135
run: gh pr review --approve "$PR_URL"
3236
- name: merge

0 commit comments

Comments
 (0)