Skip to content

Commit

Permalink
chore(ci): avoid name clashing between PR info for perf and for kerne…
Browse files Browse the repository at this point in the history
…l-testing-dev.

Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Jun 28, 2024
1 parent 52de868 commit d8091eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-comment-kernel-testing.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# NOTE: This has read-write repo token and access to secrets, so this must
# not run any untrusted code.
# see: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
name: Comment with Kernel testing resulsts on pull requests
name: Comment with Kernel testing results on pull requests

on:
workflow_run:
Expand All @@ -24,7 +24,7 @@ jobs:
run_id: ${{github.event.workflow_run.id }},
});
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "pr"
return artifact.name == "pr-kernel-testing"
})[0];
var download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run_id: ${{github.event.workflow_run.id }},
});
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "pr"
return artifact.name == "pr-perf"
})[0];
var download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/drivers_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ jobs:
libsversion: ${{ github.event.pull_request.head.sha }}
secrets: inherit

kernel-tests-upload:
kernel-tests-pr-info-upload:
needs: kernel-tests-dev
if: github.event_name == 'pull_request' && (needs.paths-filter.outputs.driver == 'true' || needs.paths-filter.outputs.libscap == 'true' || needs.paths-filter.outputs.libpman == 'true')
runs-on: ubuntu-latest
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
- name: Upload PR info as artifact
uses: actions/upload-artifact@v4
with:
name: pr
name: pr-kernel-testing
path: pr/
retention-days: 1
if-no-files-found: warn
2 changes: 1 addition & 1 deletion .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Upload PR info as artifact
uses: actions/upload-artifact@v4
with:
name: pr
name: pr-perf
path: pr/
retention-days: 1
if-no-files-found: warn
Expand Down

0 comments on commit d8091eb

Please sign in to comment.