Skip to content

Commit 65b8000

Browse files
authored
conditional
1 parent 0db9282 commit 65b8000

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/conditional.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: example-workflow
2+
on: [push]
3+
jobs:
4+
hello-world:
5+
if: github.repository == 'octo-org/octo-repo-prod'
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: "Hello World"
9+
run: echo "Hello World!"
10+
goodbye-moon:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: "Goodbye Moon"
14+
run: echo "Goodbye Moon!"

0 commit comments

Comments
 (0)