@@ -151,30 +151,6 @@ jobs:
151151 body: body
152152 });
153153
154- - name : " outdated packages (musl64)"
155- uses : " actions/github-script@v7"
156- if : ${{ github.event_name == 'pull_request' }}
157- with :
158- github-token : " ${{ secrets.GITHUB_TOKEN }}"
159- script : |
160- let fs = require('fs');
161- let body = "<details>\n";
162- body += "<summary>\n\n";
163- body = "## Outdated packages (musl64):\n";
164- body += "</summary>\n\n";
165- body += fs.readFileSync('/tmp/dpdk-sys/builds/env.sysroot.musl64.outdated.md');
166- body += "\n</details>\n";
167- const maxLength = 65535;
168- if (body.length > maxLength) {
169- const warning = "\n...output truncated due to length limits...\n";
170- body = body.slice(0, maxLength - warning.length) + warning;
171- }
172- github.rest.issues.createComment({
173- issue_number: context.issue.number,
174- owner: context.repo.owner,
175- repo: context.repo.repo,
176- body: body
177- });
178154
179155 - name : " Vulnerable packages (gnu64)"
180156 uses : " actions/github-script@v7"
@@ -201,31 +177,6 @@ jobs:
201177 body: body
202178 });
203179
204- - name : " Vulnerable packages (musl64)"
205- uses : " actions/github-script@v7"
206- if : ${{ github.event_name == 'pull_request' }}
207- with :
208- github-token : " ${{ secrets.GITHUB_TOKEN }}"
209- script : |
210- let fs = require('fs');
211- let body = "<details>\n";
212- body += "<summary>\n\n";
213- body = "## Vulnerable packages (musl64):\n";
214- body += "</summary>\n\n";
215- body += fs.readFileSync('/tmp/dpdk-sys/builds/env.sysroot.musl64.vulns.triage.md');
216- body += "\n</details>\n";
217- const maxLength = 65535;
218- if (body.length > maxLength) {
219- const warning = "\n...output truncated due to length limits...\n";
220- body = body.slice(0, maxLength - warning.length) + warning;
221- }
222- github.rest.issues.createComment({
223- issue_number: context.issue.number,
224- owner: context.repo.owner,
225- repo: context.repo.repo,
226- body: body
227- });
228-
229180 - name : " Setup tmate session for debug"
230181 if : ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
231182 uses : " mxschmitt/action-tmate@v3"
0 commit comments