Skip to content

Commit

Permalink
run release
Browse files Browse the repository at this point in the history
  • Loading branch information
terryknowlton committed Dec 5, 2024
1 parent a198d08 commit 8b564a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ async function run() {
const buildId = context?.runId?.toString() ?? (0, uuid_1.v4)(); // use UUID until GitHub library starts working
setVariable(environmentVariables_1.EnvironmentVariables.CI_BUILD_ID, buildId);
setVariable(environmentVariables_1.EnvironmentVariables.CI_BUILD_APPROVED, 'false');
core.notice(`EVENT_CONTEXT: ${JSON.stringify(context)}`);
const event = context.payload;
const eventName = context.eventName;
if (eventName === 'push') {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function run(): Promise<void> {
setVariable(EnvironmentVariables.CI_BUILD_ID, buildId);
setVariable(EnvironmentVariables.CI_BUILD_APPROVED, 'false');

core.info(`EVENT_CONTEXT: ${JSON.stringify(context)}`);
core.notice(`EVENT_CONTEXT: ${JSON.stringify(context)}`);
const event = context.payload;
const eventName = context.eventName;
if (eventName === 'push') {
Expand Down

0 comments on commit 8b564a6

Please sign in to comment.