Skip to content

Commit 9b5a3e4

Browse files
authored
Update blank.yml
1 parent 513bea7 commit 9b5a3e4

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/blank.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,3 @@ jobs:
4040
run: |
4141
echo Add more actions to build,
4242
echo test, and deploy your project(s).
43-
44-
- name: Get "ci/prow/e2e" details link
45-
id: get-check
46-
uses: actions/github-script@v6
47-
with:
48-
script: |
49-
// Use the PR head commit SHA
50-
const sha = context.payload.pull_request.head.sha;
51-
// Fetch check runs for this commit, filtering by check name
52-
const { data } = await github.checks.listForRef({
53-
owner: context.repo.owner,
54-
repo: context.repo.repo,
55-
ref: sha,
56-
check_name: 'ci/prow/e2e'
57-
});
58-
59-
if (data.total_count === 0) {
60-
core.info('No check runs found with name "ci/prow/e2e"');
61-
} else {
62-
// Assume the first matching check run is the one we want
63-
const checkRun = data.check_runs[0];
64-
core.setOutput('details_link', checkRun.details_url);
65-
core.info(`Found details URL: ${checkRun.details_url}`);
66-
}

0 commit comments

Comments
 (0)