mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-20 00:36:44 +02:00
chore: Run argos on all PRs, except renovate bot's
This commit is contained in:
7
.github/workflows/e2e.yml
vendored
7
.github/workflows/e2e.yml
vendored
@@ -7,9 +7,6 @@ on:
|
|||||||
- master
|
- master
|
||||||
- release/**
|
- release/**
|
||||||
pull_request:
|
pull_request:
|
||||||
issue_comment:
|
|
||||||
types:
|
|
||||||
- created
|
|
||||||
merge_group:
|
merge_group:
|
||||||
|
|
||||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -31,12 +28,10 @@ env:
|
|||||||
) ||
|
) ||
|
||||||
github.event.before
|
github.event.before
|
||||||
}}
|
}}
|
||||||
# Check if this is a new comment with '/visual-test'
|
|
||||||
RUN_VISUAL_TEST: >-
|
RUN_VISUAL_TEST: >-
|
||||||
${{ github.event_name == 'issue_comment' && github.event.action == 'created' && contains(github.event.comment.body, '/visual-test') && github.event.issue.pull_request != null }}
|
${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
|
||||||
jobs:
|
jobs:
|
||||||
cache:
|
cache:
|
||||||
if: ${{ github.event_name != 'issue_comment' || contains(github.event.comment.body, '/visual-test') }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: cypress/browsers:node-20.11.0-chrome-121.0.6167.85-1-ff-120.0-edge-121.0.2277.83-1
|
image: cypress/browsers:node-20.11.0-chrome-121.0.6167.85-1-ff-120.0-edge-121.0.2277.83-1
|
||||||
|
Reference in New Issue
Block a user