3939 echo Add more actions to build,
4040 echo "test, and deploy your project(s)."
4141
42+ - name : simple
43+ run : |
44+ echo Add more actions to build,
45+ echo "test, and deploy your project(s)."
46+
4247 # Get details link
4348 - name : Get "ci/prow/e2e" details link
4449 id : get-check
@@ -50,27 +55,12 @@ jobs:
5055 core.info(context.payload.pull_request.head);
5156 // Use the PR head commit SHA
5257 const sha = context.payload.pull_request.head.sha;
53- const { data1 } = await github.rest.checks.listForRef({
54- owner: context.repo.owner,
55- repo: context.repo.repo,
56- ref: sha
57- });
58- console.log("Full API response:", data1);
59- if (data1.total_count === 0) {
60- core.info("No check runs found for this commit.");
61- } else {
62- core.info("Check runs for this commit:");
63- data1.check_runs.forEach(run => {
64- core.info(`- ${run.name} (ID: ${run.id})`);
65- });
66- }
67- const sha1 = context.payload.pull_request.head.sha;
6858 // Fetch check runs for this commit, filtering by check name
6959 const { data } = await github.rest.checks.listForRef({
7060 owner: context.repo.owner,
7161 repo: context.repo.repo,
72- ref: sha1 ,
73- check_name: 'Run another multi-line script '
62+ ref: sha ,
63+ check_name: 'simple '
7464 });
7565
7666 if (data.total_count === 0) {
0 commit comments