We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05ec5dd commit f0b1ae9Copy full SHA for f0b1ae9
.github/workflows/danger.yml
@@ -1,6 +1,6 @@
1
name: danger
2
3
-on: [pull_request, workflow_dispatch]
+on: [pull_request_target, workflow_dispatch]
4
5
concurrency:
6
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Dangerfile
@@ -40,7 +40,7 @@ end
40
def addLabels(label_array)
41
issue_number = github.pr_json["number"]
42
repo_name = "firebase/firebase-ios-sdk"
43
- github.add_labels(label_array)
+ github.api.add_labels_to_an_issue(repo_name, issue_number, label_array)
44
end
45
46
# Returns a list of all labels for a given PR. PRs that touch
0 commit comments