Skip to content

Commit 0dcb8b9

Browse files
bewithgauravCopilot
andcommitted
FIX: Isolate PR performance report concurrency
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 66185fe commit 0dcb8b9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/pr-profiler-report.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
pull-requests: write
1515

1616
concurrency:
17-
group: profiler-report-${{ github.event.pull_request.number }}
17+
group: profiler-report-${{ github.event.pull_request.number }}-${{ github.event_name }}
1818
cancel-in-progress: true
1919

2020
jobs:

‎tests/test_036_profiler_ci.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,7 @@ def test_comment_workflow_separates_same_repo_and_fork_trust():
17561756
workflow = (ROOT / ".github/workflows/pr-profiler-report.yml").read_text(encoding="utf-8")
17571757
assert "pull_request:" in workflow
17581758
assert "pull_request_target:" in workflow
1759+
assert "profiler-report-${{ github.event.pull_request.number }}-${{ github.event_name }}" in workflow
17591760
assert "github.event.pull_request.head.repo.full_name == github.repository" in workflow
17601761
assert "github.event.pull_request.head.repo.full_name != github.repository" in workflow
17611762
assert (

0 commit comments

Comments
 (0)