Skip to content

Commit

Permalink
Merge pull request #271 from Jamesking56/patch-1
Browse files Browse the repository at this point in the history
fix: Quote workflow names to fix workflows containing spaces
  • Loading branch information
satterly committed Apr 8, 2024
2 parents 160cf66 + 037a05e commit 75bc620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slack.ts
Expand Up @@ -144,7 +144,7 @@ export async function send(

const runId = process.env.GITHUB_RUN_ID
const runNumber = process.env.GITHUB_RUN_NUMBER
const workflowUrl = `${repositoryUrl}/actions?query=workflow:${workflow}`
const workflowUrl = `${repositoryUrl}/actions?query=workflow:"${workflow}"`
const workflowRunUrl = `${repositoryUrl}/actions/runs/${runId}`

const sha = process.env.GITHUB_SHA as string
Expand Down

0 comments on commit 75bc620

Please sign in to comment.