File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -534,10 +534,14 @@ jobs:
534534
535535 # ── Separate job: collect all matrix metrics and update history ───────────────
536536 publish-performance-history :
537- if : |
538- github.repository == 'beehive-lab/GPULlama3.java' &&
539- github.event_name == 'push' &&
540- github.ref == 'refs/heads/main'
537+ # Guard: only commit history on real pushes to main, not on PRs or forks.
538+ # Prevents duplicate entries from PR runs and avoids push-permission errors on forks.
539+ # Full guard (restore after testing):
540+ # if: |
541+ # github.repository == 'beehive-lab/GPULlama3.java' &&
542+ # github.event_name == 'push' &&
543+ # github.ref == 'refs/heads/main'
544+ if : github.repository == 'beehive-lab/GPULlama3.java'
541545 runs-on : [self-hosted]
542546 needs : build-and-run
543547 timeout-minutes : 15
You can’t perform that action at this time.
0 commit comments