Skip to content

Commit 686a8bf

Browse files
authored
test(deps): test example-cypress-github-action when changed (cypress-io#1468)
1 parent 95d8e47 commit 686a8bf

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)