Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Update matrix-org/github-action-benchmark (#8774)
Browse files Browse the repository at this point in the history
* Update cypress.yaml

* Update cypress.yaml

* Update cypress.yaml
  • Loading branch information
t3chguy authored Jun 7, 2022
1 parent 9c44e6c commit f65e8d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo "COMMIT_INFO_AUTHOR=$(git log --format='%an' -n 1 ${{ github.event.workflow_run.head_sha }})" >> $GITHUB_ENV
echo "COMMIT_INFO_EMAIL=$(git log --format='%ae' -n 1 ${{ github.event.workflow_run.head_sha }})" >> $GITHUB_ENV
# Only run Percy when it is demanded or on develop
if [[ "${{ (contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy') || github.ref == 'refs/heads/develop') }}" == "false" ]]; then
if [[ "${{ (contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy') || github.event.workflow_run.event != 'pull_request') }}" == "false" ]]; then
echo "PERCY_ENABLE=0" >> $GITHUB_ENV
fi
Expand Down Expand Up @@ -87,8 +87,8 @@ jobs:
cypress/synapselogs
- name: Store benchmark result
if: github.ref == 'refs/heads/develop'
uses: matrix-org/github-action-benchmark@jsperfentry-1
if: github.event.workflow_run.event != 'pull_request'
uses: matrix-org/github-action-benchmark@jsperfentry-5
with:
name: Cypress measurements
tool: 'jsperformanceentry'
Expand All @@ -98,4 +98,4 @@ jobs:
fail-on-alert: false
comment-on-alert: false
github-token: ${{ secrets.DEPLOY_GH_PAGES }}
auto-push: ${{ github.ref == 'refs/heads/develop' }}
auto-push: ${{ github.event.workflow_run.event != 'pull_request' }}

0 comments on commit f65e8d0

Please sign in to comment.