Skip to content

Commit 7ed04b7

Browse files
committed
fixup! Use runInActions for the upload-sarif post-action
1 parent 0866a48 commit 7ed04b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/upload-sarif-action-post.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ import { EnvVar } from "./environment";
1717
import { withGroup } from "./logging";
1818
import { checkGitHubVersionInRange, getErrorMessage } from "./util";
1919

20+
/**
21+
* The main functionality of the `upload-sarif` post-action is implemented by this function.
22+
* This is called once by {@link runInActions} after it is called in {@link runWrapper}.
23+
*/
2024
export async function run(action: ActionState<["Logger"]>) {
2125
// To capture errors appropriately, keep as much code within the try-catch as
2226
// possible, and only use safe functions outside.

0 commit comments

Comments
 (0)