Use new URLs for downloading workflows (#5524)
This commit is contained in:
parent
5caf23d627
commit
37b83e05a7
|
@ -49,7 +49,7 @@ describe('setupGithubCommand', () => {
|
|||
`curl -fsSL -o "${fakeRepoRoot}/.github/workflows/gemini-issue-automated-triage.yml"`,
|
||||
`curl -fsSL -o "${fakeRepoRoot}/.github/workflows/gemini-issue-scheduled-triage.yml"`,
|
||||
`curl -fsSL -o "${fakeRepoRoot}/.github/workflows/gemini-pr-review.yml"`,
|
||||
'https://raw.githubusercontent.com/google-github-actions/run-gemini-cli/refs/heads/main/workflows/',
|
||||
'https://raw.githubusercontent.com/google-github-actions/run-gemini-cli/refs/heads/v0/examples/workflows/',
|
||||
];
|
||||
|
||||
for (const substring of expectedSubstrings) {
|
||||
|
|
|
@ -27,9 +27,8 @@ export const setupGithubCommand: SlashCommand = {
|
|||
throw new Error('Unable to determine the Git root directory.');
|
||||
}
|
||||
|
||||
// TODO(#5198): pin workflow versions for release controls
|
||||
const version = 'main';
|
||||
const workflowBaseUrl = `https://raw.githubusercontent.com/google-github-actions/run-gemini-cli/refs/heads/${version}/workflows/`;
|
||||
const version = 'v0';
|
||||
const workflowBaseUrl = `https://raw.githubusercontent.com/google-github-actions/run-gemini-cli/refs/heads/${version}/examples/workflows/`;
|
||||
|
||||
const workflows = [
|
||||
'gemini-cli/gemini-cli.yml',
|
||||
|
|
Loading…
Reference in New Issue