Skip to content

Commit 0983a7f

Browse files
authored
conditional_check
1 parent 36eca3c commit 0983a7f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/conditional.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: conditional checks
2+
3+
4+
on: [push]
5+
6+
jobs:
7+
job1:
8+
if: github.repository == '2vikram22/Github-Examples' # job level if
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: print heelo
12+
run: echo "hello"
13+
14+
- name: step lvel if
15+
if: github.repository == 'asd'
16+
run: echo "hello"

0 commit comments

Comments
 (0)