Skip to content

Commit

Permalink
Fix direct link
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Mar 6, 2024
1 parent 707b9ee commit ab05ca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
const {repository, filepath, ref} = parseWorkflowPath(path);
core.summary.addRaw(`Workflow \`${filepath}\` from ${repository}@${ref}`, true);
core.summary.addRaw(`Workflow \`${filepath}\` from ${repository}@${sha}`, true);
const fileUrl = `${context.serverUrl}/blob/${ref}/${filepath}`;
core.summary.addRaw(`Workflow \`${filepath}\` from ${repository}@${ref} ([link](${fileUrl}))`, true);
const fileUrl = `${context.serverUrl}/${repository}/blob/${ref}/${filepath}`;
core.summary.addRaw(`Workflow \`${filepath}\` from ${repository}@${ref} ([link to file](${fileUrl}))`, true);
}
core.summary.write()

0 comments on commit ab05ca2

Please sign in to comment.