From 0b5bf555f1f38b98213036cff83ab1abf0b1ad3b Mon Sep 17 00:00:00 2001 From: Dustin Ruetz Date: Thu, 4 Apr 2024 21:16:10 -0400 Subject: [PATCH] fix: Git repo URL protocols (use SSH in package.json and HTTPS in release.config.cjs) --- package.json | 2 +- release.config.cjs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 24f20da..028299f 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/1Password/load-secrets-action.git" + "url": "git@github.com:1Password/load-secrets-action.git" }, "keywords": [ "actions", diff --git a/release.config.cjs b/release.config.cjs index e1d5440..1a7071e 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -11,4 +11,7 @@ module.exports = { "@semantic-release/release-notes-generator", "@semantic-release/github", ], + // Use the `https` Git protocol here to prevent semantic-release from erroring + // on the SSH protocol used in `repository.url` in the package.json file. + repositoryUrl: "https://github.com/1Password/load-secrets-action.git", };