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
三咲智子 Kevin Deng authored and sxzz committed Nov 8, 2023
1 parent 0f70088 commit b7d31df
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 b7d31df

Please sign in to comment.