Skip to content

Commit c75664a

Browse files
[ci] Restore full guard condition in publish-performance-history for PR merges and main branch pushes
1 parent 116fa65 commit c75664a

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/build-and-run.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -536,12 +536,10 @@ jobs:
536536
publish-performance-history:
537537
# Guard: only commit history on real pushes to main, not on PRs or forks.
538538
# 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'
539+
if: >-
540+
github.repository == 'beehive-lab/GPULlama3.java' &&
541+
github.event_name == 'push' &&
542+
github.ref == 'refs/heads/main'
545543
runs-on: [self-hosted]
546544
needs: build-and-run
547545
timeout-minutes: 15

0 commit comments

Comments
 (0)