Skip to content

Commit c8079e2

Browse files
committed
test workflow_run
1 parent 1b327d6 commit c8079e2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/on_pr.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Run On PR against master
2+
on:
3+
pull_request:
4+
type:
5+
- opened
6+
- reopened
7+
- synchronize
8+
branches:
9+
- master
10+
jobs:
11+
Info:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- run: echo "This is a PR against master, type one of opened, reopened, synchronize"

.github/workflows/on_workflow_run.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Run when on_pr runs
2+
on:
3+
workflow_run:
4+
workflows:
5+
- "Run On PR against master"
6+
branches:
7+
- master
8+
jobs:
9+
Info:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- run: echo I have run because on_pr has run against master

0 commit comments

Comments
 (0)