Skip to content

Commit f0b1ae9

Browse files
committed
pull_request_target
1 parent 05ec5dd commit f0b1ae9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/danger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: danger
22

3-
on: [pull_request, workflow_dispatch]
3+
on: [pull_request_target, workflow_dispatch]
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}

Dangerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ end
4040
def addLabels(label_array)
4141
issue_number = github.pr_json["number"]
4242
repo_name = "firebase/firebase-ios-sdk"
43-
github.add_labels(label_array)
43+
github.api.add_labels_to_an_issue(repo_name, issue_number, label_array)
4444
end
4545

4646
# Returns a list of all labels for a given PR. PRs that touch

0 commit comments

Comments
 (0)