mirror of
https://github.com/docker/metadata-action.git
synced 2024-11-22 20:15:41 +01:00
log webhook payload if action step debug enabled
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
e1a45f6e54
commit
89bf6c030f
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -25,6 +25,12 @@ async function run() {
|
|||||||
core.info(`runId: ${context.runId}`);
|
core.info(`runId: ${context.runId}`);
|
||||||
core.endGroup();
|
core.endGroup();
|
||||||
|
|
||||||
|
if (core.isDebug()) {
|
||||||
|
core.startGroup(`Webhook payload`);
|
||||||
|
core.info(JSON.stringify(context.payload, null, 2));
|
||||||
|
core.endGroup();
|
||||||
|
}
|
||||||
|
|
||||||
const meta: Meta = new Meta(inputs, context, repo);
|
const meta: Meta = new Meta(inputs, context, repo);
|
||||||
|
|
||||||
const version: Version = meta.version;
|
const version: Version = meta.version;
|
||||||
|
Loading…
Reference in New Issue
Block a user