Use new URLs for downloading workflows (#5524)
This commit is contained in:
parent
12fc17bc8c
commit
016a263409
2 changed files with 3 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue