File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ updates:
18
18
patterns :
19
19
- " xunit"
20
20
- " xunit.*"
21
+ - " xunit.v3"
22
+ - " xunit.v3.*"
21
23
- " Verify.Xunit"
24
+ - " Verify.XunitV3"
22
25
23
26
- package-ecosystem : npm
24
27
target-branch : main
Original file line number Diff line number Diff line change @@ -10,11 +10,19 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
if : ${{ github.actor == 'dependabot[bot]' }}
12
12
steps :
13
- - run : gh pr review --approve "$PR_URL"
13
+ - name : Retrieve Dependabot metadata
14
+ id : metadata
15
+ uses : dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3.0
16
+
17
+ - name : Auto Approve PR
18
+ run : gh pr review --approve "$PR_URL"
14
19
env :
15
20
PR_URL : ${{github.event.pull_request.html_url}}
16
21
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
17
- - run : gh pr merge --auto --squash "$PR_URL"
22
+
23
+ - name : Auto Merge PR
24
+ run : gh pr merge --auto --squash "$PR_URL"
25
+ if : ${{ steps.metadata.outputs.package-ecosystem != 'github_actions' }}
18
26
env :
19
27
PR_URL : ${{github.event.pull_request.html_url}}
20
28
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments