Skip to content

Commit c2bab80

Browse files
committed
chore: update GitHub report template
1 parent 3e3d350 commit c2bab80

File tree

6 files changed

+4
-8
lines changed

6 files changed

+4
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules
22
./ctrf
33
/ctrf
44
/coverage
5+
/context-examples
56

67
# Dependency directory
78
node_modules

dist/index.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/reports/github.hbs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/action-handler.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ export async function runAction(): Promise<void> {
1111
const inputs = getInputs()
1212
const githubContext = getAllGitHubContext()
1313

14-
// log the github context
15-
console.log(JSON.stringify(githubContext, null, 2))
16-
1714
const report = await prepareReport(inputs, githubContext)
1815
await processIntegrations(inputs.integrationsConfig, report)
1916

src/reports/github.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{{/if}}
3232
{{#if github.pullRequestNumber}}
3333
{{#if github.pullRequest.title}}
34-
![pull-request](https://ctrf.io/assets/github/git-pull-request.svg) #{{github.pullRequestNumber}} {{github.pullRequest.title}}
34+
![pull-request](https://ctrf.io/assets/github/git-pull-request.svg) {{github.pullRequest.title}} ![link](https://ctrf.io/assets/github/link.svg) [#{{github.pullRequestNumber}}]({{github.pullRequest.htmlUrl}})
3535
{{else}}
3636
![pull-request](https://ctrf.io/assets/github/git-pull-request.svg) #{{github.pullRequestNumber}}
3737
{{/if}}

0 commit comments

Comments
 (0)