Skip to content

Commit

Permalink
Only publish benchmark results on the upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeDCrawford committed Jun 11, 2024
1 parent 7a99f12 commit e99813c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Publish benchmark results
uses: benchmark-action/github-action-benchmark@v1
if: github.event_name != 'pull_request'
if: github.event_name == 'pull_request' && github.repository == 'ixc/python-edtf'
with:
tool: 'pytest'
auto-push: true
Expand All @@ -112,6 +112,7 @@ jobs:
summary-always: true

- name: Comment on benchmark results without publishing
if: github.event_name != 'pull_request' || github.repository != 'ixc/python-edtf'
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'pytest'
Expand Down

0 comments on commit e99813c

Please sign in to comment.