Merge pull request #446 from h0x0er/log-step

Log action steps
This commit is contained in:
Varun Sharma 2024-07-29 12:46:30 -07:00 committed by GitHub
commit deb3383c4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 12 additions and 3 deletions

1
dist/index.js vendored
View file

@ -3028,6 +3028,7 @@ var src_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argu
(() => src_awaiter(void 0, void 0, void 0, function* () {
console.log("[harden-runner] main-step");
if (process.platform !== "linux") {
console.log(UBUNTU_MESSAGE);
return;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

1
dist/post/index.js vendored
View file

@ -3076,6 +3076,7 @@ var cleanup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _
(() => cleanup_awaiter(void 0, void 0, void 0, function* () {
console.log("[harden-runner] post-step");
if (process.platform !== "linux") {
console.log(UBUNTU_MESSAGE);
return;

File diff suppressed because one or more lines are too long

1
dist/pre/index.js vendored
View file

@ -71662,6 +71662,7 @@ var setup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _ar
(() => setup_awaiter(void 0, void 0, void 0, function* () {
var _a, _b;
try {
console.log("[harden-runner] pre-step");
if (process.platform !== "linux") {
console.log(UBUNTU_MESSAGE);
return;

File diff suppressed because one or more lines are too long

View file

@ -5,6 +5,8 @@ import isDocker from "is-docker";
import { arcCleanUp, isArcRunner, removeStepPolicyFiles } from "./arc-runner";
(async () => {
console.log("[harden-runner] post-step");
if (process.platform !== "linux") {
console.log(common.UBUNTU_MESSAGE);
return;

View file

@ -4,6 +4,8 @@ import isDocker from "is-docker";
import { STEPSECURITY_WEB_URL } from "./configs";
(async () => {
console.log("[harden-runner] main-step");
if (process.platform !== "linux") {
console.log(common.UBUNTU_MESSAGE);
return;

View file

@ -34,6 +34,8 @@ interface MonitorResponse {
(async () => {
try {
console.log("[harden-runner] pre-step");
if (process.platform !== "linux") {
console.log(common.UBUNTU_MESSAGE);
return;