diff --git a/src/main.ts b/src/main.ts index b1176519..acbd43cf 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,8 +18,10 @@ import { } from './utils' export async function run(): Promise { + core.startGroup('changed-files') + const env = await getEnv() - core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`) + core.debug(`Env: ${JSON.stringify(env, null, 2)}`) const inputs = getInputs() core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`) @@ -371,6 +373,8 @@ export async function run(): Promise { inputs }) } + + core.endGroup() } /* istanbul ignore if */ diff --git a/src/utils.ts b/src/utils.ts index 57319a4e..8f41c675 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -200,7 +200,7 @@ export const gitFetch = async ({ }): Promise => { const {exitCode, stderr} = await exec.getExecOutput( 'git', - ['fetch', ...args], + ['fetch', '-q', ...args], { cwd, silent: true @@ -224,7 +224,7 @@ export const gitFetchSubmodules = async ({ }): Promise => { const {exitCode, stderr} = await exec.getExecOutput( 'git', - ['submodule', 'foreach', 'git', 'fetch', ...args], + ['submodule', 'foreach', 'git', 'fetch', '-q', ...args], { cwd, silent: true