Skip to content

Commit 03c1ff9

Browse files
authored
Update dependabot-automerge.yml for rust crate bump
We also now print info on dry run
1 parent 2cba861 commit 03c1ff9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/dependabot-automerge.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ permissions:
77
jobs:
88
dependabot-automerge:
99
runs-on: ubuntu-latest
10-
if: ${{ github.actor == 'dependabot[bot]' }}
1110
env:
1211
PR_URL: ${{github.event.pull_request.html_url}}
1312
GH_TOKEN: ${{ github.token }}
1413
steps:
15-
#- name: approve
16-
# run: gh pr review --approve "$PR_URL"
14+
- name: describe for '${{ github.event.pull_request.title }}'
15+
run: |
16+
printf "github.actor == '%s'\n" "${{ github.actor }}"
1717
- name: merge
1818
run: gh pr merge --auto --squash --delete-branch "$PR_URL"
19+
if: ${{ ( github.actor == 'dependabot[bot]' ) || ( github.actor == 'github-actions[bot]' && github.event.pull_request.title == 'Rust Crate Version Bump' ) }}

0 commit comments

Comments
 (0)