We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ee51ba commit b44795bCopy full SHA for b44795b
1 file changed
.github/workflows/benchmark.yml
@@ -37,9 +37,9 @@ jobs:
37
output-file-path: output.txt
38
github-token: ${{ secrets.GITHUB_TOKEN }}
39
# Push and deploy GitHub pages branch automatically
40
- auto-push: true
+ auto-push: ${{ github.ref == 'refs/heads/main' }}
41
# Show alert with commit comment on detecting possible performance regression
42
alert-threshold: '125%'
43
- comment-on-alert: true
+ comment-on-alert: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
44
fail-on-alert: true
45
alert-comment-cc-users: '@${{ github.actor }}'
0 commit comments