Skip to content

Commit 823eb98

Browse files
committed
Save PR number to artifact for future report workflow
1 parent d3f6781 commit 823eb98

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/perf-tests.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131

3232
permissions:
3333
contents: read
34-
pull-requests: write # For PR comments
3534
actions: read
3635

3736
steps:
@@ -70,15 +69,10 @@ jobs:
7069
run: yarn perf:ci:compare
7170
continue-on-error: true
7271

73-
- name: Post PR comment
72+
- name: Save PR number
7473
if: github.event_name == 'pull_request'
75-
working-directory: packages/e2e-test-app-fabric
76-
env:
77-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78-
run: yarn perf:ci:report
79-
continue-on-error: true
74+
run: echo "${{ github.event.pull_request.number }}" > packages/e2e-test-app-fabric/.perf-results/pr-number.txt
8075

81-
# ── Artifacts ──────────────────────────────────────────
8276
- name: Upload perf results
8377
if: always()
8478
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)