diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build.yaml rename to .github/workflows/build.yml diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yml similarity index 100% rename from .github/workflows/docker.yaml rename to .github/workflows/docker.yml diff --git a/.github/workflows/example.yaml b/.github/workflows/example.yml similarity index 100% rename from .github/workflows/example.yaml rename to .github/workflows/example.yml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/test.yaml rename to .github/workflows/test.yml diff --git a/bamboo-specs/build.yaml b/bamboo-specs/build.yaml index 2172761..cde548b 100644 --- a/bamboo-specs/build.yaml +++ b/bamboo-specs/build.yaml @@ -48,7 +48,7 @@ Build: revision="${bamboo_planRepository_revision}" # FIXME use github-actions-runner binary after it will be exposed in the docker - GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow build.yaml --artifacts-path . + GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow build.yml --artifacts-path . - inject-variables: file: build.txt scope: RESULT diff --git a/bamboo-specs/example.yaml b/bamboo-specs/example.yaml index ead231c..5c921fa 100644 --- a/bamboo-specs/example.yaml +++ b/bamboo-specs/example.yaml @@ -41,7 +41,7 @@ Build: revision="${bamboo_planRepository_revision}" # FIXME use github-actions-runner binary after it will be exposed in the docker - GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} github-actions-runner run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow example.yaml --artifacts-path . + GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} github-actions-runner run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow example.yml --artifacts-path . final-tasks: - script: interpreter: SHELL diff --git a/bamboo-specs/tests.yaml b/bamboo-specs/tests.yaml index ad5dea4..575f59b 100644 --- a/bamboo-specs/tests.yaml +++ b/bamboo-specs/tests.yaml @@ -46,7 +46,7 @@ Test: branch="${bamboo_planRepository_branchName}" revision="${bamboo_planRepository_revision}" - GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow test.yaml + GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow test.yml final-tasks: - script: interpreter: SHELL diff --git a/src/bin/index.ts b/src/bin/index.ts index ab18996..17acd5d 100644 --- a/src/bin/index.ts +++ b/src/bin/index.ts @@ -26,7 +26,7 @@ program.command('run-action') '-r, --repo ', 'repository specified as "owner/repo", e.g., "AdguardTeam/GithubActionsRunner"', ) - .requiredOption('-w, --workflow ', 'workflow file to trigger, e.g., "test.yaml"') + .requiredOption('-w, --workflow ', 'workflow file to trigger, e.g., "test.yml"') .requiredOption('-b, --branch ', 'branch name') .requiredOption('-c, --rev ', 'commit revision') .option(