Skip to content

Commit

Permalink
fix(publish): split github workflow ref
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Nov 8, 2023
1 parent 0f70088 commit df990c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/lib/provenance.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const generateProvenance = async (subject, opts) => {
/* istanbul ignore next - not covering missing env var case */
const [workflowPath, workflowRef] = (env.GITHUB_WORKFLOW_REF || '')
.replace(env.GITHUB_REPOSITORY + '/', '')
.split('@')
.split('@', 2)
payload = {
_type: INTOTO_STATEMENT_V1_TYPE,
subject,
Expand Down

0 comments on commit df990c2

Please sign in to comment.