1717 id : parse_command
1818 with :
1919 script : |
20- const { default: parseDeployCommand } = await import('${{ github.workspace }}/actions_scripts/parse_deployment_command.js')
21- parseDeployCommand({context, core})
20+ const { default: parseDeployCommand } =
21+ await import('${{ github.workspace }}/actions_scripts/parse_deployment_command.js');
22+
23+ parseDeployCommand({context, core});
2224
2325 - name : Get GH Zero Day Code APP token
2426 if : ${{ !github.event.act }}
3941 const infra = `${{ steps.parse_command.outputs.infra }}`;
4042
4143 const { default: notifyUser } =
42- await import('${{ github.workspace }}/actions_scripts/notify_user.js')
44+ await import('${{ github.workspace }}/actions_scripts/notify_user.js');
4345
44- return await notifyUser(github, context, steps)
46+ return await notifyUser({ github, context, environment, project, infra});
4547
4648 - name : Trigger Deployment Workflow
4749 uses : actions/github-script@v7
@@ -113,6 +115,6 @@ jobs:
113115 const steps = ${{ toJSON(steps) }};
114116
115117 const { default: updatePrComment } =
116- await import('${{ github.workspace }}/actions_scripts/update_pr_comment.js')
118+ await import('${{ github.workspace }}/actions_scripts/update_pr_comment.js');
117119
118- await updatePrComment(github, context, steps)
120+ await updatePrComment(github, context, steps);
0 commit comments