Skip to content

Commit c3b4faa

Browse files
authored
fix: Adds debugging items to dependabot workflow. (#54)
1 parent d236728 commit c3b4faa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/dependabot.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,16 @@ permissions:
2222
jobs:
2323
dependabot:
2424
runs-on: ubuntu-latest
25+
if: ${{ github.actor == 'dependabot[bot]' || github.event_name == 'pull_request' }}
2526
env:
2627
PR_URL: ${{ github.event.pull_request.html_url }}
2728
GH_TOKEN: ${{ github.token }}
2829
steps:
29-
- name: Check gh CLI
30-
run: gh --version
30+
- name: Debug Actor
31+
run: echo "Actor ${{ github.actor }}"
3132
- name: Debug Event
3233
run: echo "Event ${{ github.event_name }}"
3334
- name: approve
34-
env:
35-
GH_TOKEN: ${{ github.token }}
3635
run: gh pr review --approve "$PR_URL"
3736
- name: merge
3837
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 commit comments

Comments
 (0)