Skip to content

Commit e99813c

Browse files
committed
Only publish benchmark results on the upstream
1 parent 7a99f12 commit e99813c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Publish benchmark results
102102
uses: benchmark-action/github-action-benchmark@v1
103-
if: github.event_name != 'pull_request'
103+
if: github.event_name == 'pull_request' && github.repository == 'ixc/python-edtf'
104104
with:
105105
tool: 'pytest'
106106
auto-push: true
@@ -112,6 +112,7 @@ jobs:
112112
summary-always: true
113113

114114
- name: Comment on benchmark results without publishing
115+
if: github.event_name != 'pull_request' || github.repository != 'ixc/python-edtf'
115116
uses: benchmark-action/github-action-benchmark@v1
116117
with:
117118
tool: 'pytest'

0 commit comments

Comments
 (0)