Skip to content

Commit d558b79

Browse files
authored
add conditional workflow
1 parent 9bc5f0d commit d558b79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/conditional.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
push
55

66
jobs:
7-
Hello-world
8-
if: github.repository == 'octo-org/octo-repo-prod'
7+
Hello-world:
8+
if: github.repository == 'sumanthgitty/GitHub-Actions'
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: "Hello World"
1212
run: echo "Hello world!"
1313

14-
Goodbye-Sumanth
14+
Goodbye-Sumanth:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: "goodbye"

0 commit comments

Comments
 (0)