Skip to content

Commit

Permalink
Release 11.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed May 18, 2022
1 parent ce16725 commit b822b0b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "11.0.6",
"version": "11.0.7",
"description": "Unit tests for Team Culture",
"main": "distribution/danger.js",
"typings": "distribution/danger.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions source/danger-incoming-process-schema.json
Expand Up @@ -135410,6 +135410,10 @@
},
"type": "array"
},
"setSummaryMarkdown": {
"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/",
"type": "object"
},
"thisPR": {
"$ref": "#/definitions/GitHubAPIPR",
"description": "The PR metadata specifically formatted for using with the GitHub API client"
Expand Down
9 changes: 9 additions & 0 deletions source/danger-outgoing-process-schema.json
Expand Up @@ -33,6 +33,15 @@
},
"type": "array"
},
"github": {
"properties": {
"stepSummary": {
"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/",
"type": "string"
}
},
"type": "object"
},
"markdowns": {
"description": "Markdown messages to attach at the bottom of the comment",
"items": {
Expand Down
16 changes: 16 additions & 0 deletions source/danger.d.ts
Expand Up @@ -719,6 +719,15 @@ interface DangerResults {
*/
markdowns: Violation[]

github?: {
/**
* Markdown text which gets added as a summary in the first
* page which you see when you click through to the PR results.
*
* https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/ */
stepSummary?: string
}

/** Meta information about the runtime evaluation */
meta?: {
/** E.g. "dangerJS", or "Danger Swift" */
Expand Down Expand Up @@ -1009,6 +1018,13 @@ interface GitHubDSL extends GitHubJSONDSL {
api: GitHub
/** A scope for useful functions related to GitHub */
utils: GitHubUtilsDSL
/**
* Sets a markdown summary which shows on the overview page for the
* results of all steps in your CI job.
*
* See: https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
*/
setSummaryMarkdown: (markdown: string) => void
}

/** Useful functions for GitHub related work */
Expand Down

0 comments on commit b822b0b

Please sign in to comment.