Skip to content

Commit b822b0b

Browse files
committed
Release 11.0.7
1 parent ce16725 commit b822b0b

4 files changed

+30
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "danger",
3-
"version": "11.0.6",
3+
"version": "11.0.7",
44
"description": "Unit tests for Team Culture",
55
"main": "distribution/danger.js",
66
"typings": "distribution/danger.d.ts",

source/danger-incoming-process-schema.json

+4
Original file line numberDiff line numberDiff line change
@@ -135410,6 +135410,10 @@
135410135410
},
135411135411
"type": "array"
135412135412
},
135413+
"setSummaryMarkdown": {
135414+
"description": "Sets a markdown summary which shows on the overview page for the\nresults of all steps in your CI job.\n\nSee: https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/",
135415+
"type": "object"
135416+
},
135413135417
"thisPR": {
135414135418
"$ref": "#/definitions/GitHubAPIPR",
135415135419
"description": "The PR metadata specifically formatted for using with the GitHub API client"

source/danger-outgoing-process-schema.json

+9
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@
3333
},
3434
"type": "array"
3535
},
36+
"github": {
37+
"properties": {
38+
"stepSummary": {
39+
"description": "Markdown text which gets added as a summary in the first\npage which you see when you click through to the PR results.\n\nhttps://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/",
40+
"type": "string"
41+
}
42+
},
43+
"type": "object"
44+
},
3645
"markdowns": {
3746
"description": "Markdown messages to attach at the bottom of the comment",
3847
"items": {

source/danger.d.ts

+16
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,15 @@ interface DangerResults {
719719
*/
720720
markdowns: Violation[]
721721

722+
github?: {
723+
/**
724+
* Markdown text which gets added as a summary in the first
725+
* page which you see when you click through to the PR results.
726+
*
727+
* https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/ */
728+
stepSummary?: string
729+
}
730+
722731
/** Meta information about the runtime evaluation */
723732
meta?: {
724733
/** E.g. "dangerJS", or "Danger Swift" */
@@ -1009,6 +1018,13 @@ interface GitHubDSL extends GitHubJSONDSL {
10091018
api: GitHub
10101019
/** A scope for useful functions related to GitHub */
10111020
utils: GitHubUtilsDSL
1021+
/**
1022+
* Sets a markdown summary which shows on the overview page for the
1023+
* results of all steps in your CI job.
1024+
*
1025+
* See: https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
1026+
*/
1027+
setSummaryMarkdown: (markdown: string) => void
10121028
}
10131029

10141030
/** Useful functions for GitHub related work */

0 commit comments

Comments
 (0)