Skip to content

Commit c8dd19e

Browse files
authored
Merge branch 'master' into update/actions
2 parents 674bdec + 686a8bf commit c8dd19e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/example-cypress-github-action.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ name: Example Cypress GitHub Actions
44
# Cypress JavaScript GitHub Action (https://github.com/cypress-io/github-action) with
55
# Cypress Docker images (https://github.com/cypress-io/cypress-docker-images)
66

7-
# The workflow is triggered manually on demand, see
8-
# https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
97
# To automatically trigger a workflow, for instance on a push event, see
108
# https://docs.github.com/en/actions/using-workflows/triggering-a-workflow
9+
# for options and examples.
10+
# The workflow can be triggered manually on demand, see
11+
# https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
1112

12-
on: workflow_dispatch
13+
on:
14+
push:
15+
paths:
16+
- '.github/workflows/example-cypress-github-action.yml'
17+
pull_request:
18+
paths:
19+
- '.github/workflows/example-cypress-github-action.yml'
20+
workflow_dispatch:
1321

1422
jobs:
1523
docker-base:

0 commit comments

Comments
 (0)