Skip to content

Commit bb9265a

Browse files
authored
Update DCM workflow (#2135)
1 parent 7652f64 commit bb9265a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dcm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Dart Code Metrics
44

55
on:
66
pull_request_target:
7-
types: [synchronize, opened, reopened, labeled, unlabeled]
7+
types: [opened, reopened, labeled, unlabeled]
88
branches:
99
- master
1010

@@ -30,7 +30,7 @@ jobs:
3030
name: Checkout repository
3131
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
3232
with:
33-
ref: "refs/pull/${{ github.event.number }}/merge"
33+
ref: "${{ github.event.pull_request.sha }}"
3434
- id: dwds_pub_upgrade
3535
name: dwds; dart pub upgrade
3636
run: dart pub upgrade

0 commit comments

Comments
 (0)