Skip to content

Commit 14e5d05

Browse files
committed
feat(Slack): add repository info in main text
1 parent a7a864b commit 14e5d05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/slack.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class Slack {
121121

122122
const res = await this.client.chat.postMessage({
123123
channel: this.channelId,
124-
text: mainText,
124+
text: `${mainText} at ${this.githubConfig.repository}`,
125125
attachments: [
126126
{
127127
color,

src/utils/validate-input.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as core from '@actions/core'
44
import { getFileFromBranch } from '@/utils/get-file-from-branch'
55

66
const DEFAULT_OPENAPI_FILE_PATH = 'openapi.json'
7-
const MOCKUP_REPOSITORY = '/mockup_owner/mockup_repo'
7+
const MOCKUP_REPOSITORY = 'mockup_owner/mockup_repo'
88
const MOCKUP_SHA = 'mockup123_sha'
99
const MOCKUP_MESSAGE = 'mockup message for testing'
1010

0 commit comments

Comments
 (0)