Skip to content

Commit 532af04

Browse files
committed
redirect to kpk47/slsa-verifier'
1 parent a53b192 commit 532af04

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

actions/installer/dist/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ function getVerifierVersion(actionRef) {
8181
// If actionRef is a commit SHA, then find the associated version number.
8282
const shaRe = /^[a-f\d]{40}$/;
8383
if (shaRe.test(actionRef)) {
84-
const octokit = github.getOctokit(core.getInput('github-token'));
84+
const octokit = github.getOctokit(core.getInput("github-token"));
8585
const { data: tags } = yield octokit.request("GET /repos/{owner}/{repository}/tags", {
86-
owner: "slsa-framework",
86+
owner: "kpk47",
8787
repository: "slsa-verifier",
8888
});
8989
for (const tag of tags) {
@@ -154,7 +154,7 @@ function run() {
154154
let downloadedBinaryPath;
155155
try {
156156
// Download requested version binary and provenance
157-
downloadedBinaryPath = yield tc.downloadTool(`https://github.com/slsa-framework/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64`, `${installDir}/${BINARY_NAME}`);
157+
downloadedBinaryPath = yield tc.downloadTool(`https://github.com/kpk47/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64`, `${installDir}/${BINARY_NAME}`);
158158
}
159159
catch (error) {
160160
const errMsg = error instanceof Error ? error.message : String(error);
@@ -164,7 +164,7 @@ function run() {
164164
}
165165
let downloadedProvenancePath;
166166
try {
167-
downloadedProvenancePath = yield tc.downloadTool(`https://github.com/slsa-framework/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64.intoto.jsonl`, `${installDir}/${PROVENANCE_NAME}`);
167+
downloadedProvenancePath = yield tc.downloadTool(`https://github.com/kpk47/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64.intoto.jsonl`, `${installDir}/${PROVENANCE_NAME}`);
168168
}
169169
catch (error) {
170170
const errMsg = error instanceof Error ? error.message : String(error);
@@ -177,7 +177,7 @@ function run() {
177177
const { exitCode, stdout, stderr } = yield exec.getExecOutput(`${bootstrapVerifierPath}`, [
178178
`-artifact-path=${downloadedBinaryPath}`,
179179
`-provenance=${downloadedProvenancePath}`,
180-
`-source=github.com/slsa-framework/slsa-verifier`,
180+
`-source=github.com/kpk47/slsa-verifier`,
181181
`-tag=${version}`,
182182
]);
183183
if (exitCode !== 0) {

actions/installer/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

actions/installer/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function getVerifierVersion(actionRef: string): Promise<string> {
4747
const { data: tags } = await octokit.request(
4848
"GET /repos/{owner}/{repository}/tags",
4949
{
50-
owner: "slsa-framework",
50+
owner: "kpk47",
5151
repository: "slsa-verifier",
5252
}
5353
);
@@ -135,7 +135,7 @@ async function run(): Promise<void> {
135135
try {
136136
// Download requested version binary and provenance
137137
downloadedBinaryPath = await tc.downloadTool(
138-
`https://github.com/slsa-framework/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64`,
138+
`https://github.com/kpk47/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64`,
139139
`${installDir}/${BINARY_NAME}`
140140
);
141141
} catch (error: unknown) {
@@ -147,7 +147,7 @@ async function run(): Promise<void> {
147147
let downloadedProvenancePath;
148148
try {
149149
downloadedProvenancePath = await tc.downloadTool(
150-
`https://github.com/slsa-framework/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64.intoto.jsonl`,
150+
`https://github.com/kpk47/slsa-verifier/releases/download/${version}/slsa-verifier-linux-amd64.intoto.jsonl`,
151151
`${installDir}/${PROVENANCE_NAME}`
152152
);
153153
} catch (error: unknown) {
@@ -164,7 +164,7 @@ async function run(): Promise<void> {
164164
[
165165
`-artifact-path=${downloadedBinaryPath}`,
166166
`-provenance=${downloadedProvenancePath}`,
167-
`-source=github.com/slsa-framework/slsa-verifier`,
167+
`-source=github.com/kpk47/slsa-verifier`,
168168
`-tag=${version}`,
169169
]
170170
);

0 commit comments

Comments
 (0)