Skip to content

Commit e44533c

Browse files
authored
Update second_action.yml
1 parent c6886d4 commit e44533c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/second_action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
#--------GitHub Action-------------
33
#------By Rishat Mukhtarov---------
44
#----------------------------------
5-
name: Second_GitHub_Action
5+
name: Merge_GitHub_Action
66
env:
7-
prnt_msg: "Action Started Guys... commit sh code - ${{ github.sha }}"
7+
prnt_msg1: "Action Started Guys... Workflow run sh code - ${{ github.sha }}"
88
global_var: "This is a global environment (playbook) variable"
99

10-
on:
11-
push:
10+
on:
11+
merge_group:
1212
branches:
1313
- main
1414

@@ -24,7 +24,7 @@ jobs:
2424
#
2525

2626
- run: |
27-
echo ${{env.prnt_msg}}
27+
echo ${{env.prnt_msg1}}
2828
echo " VAR1 = ${{env.global_var}}"
2929
echo " VAR2 = ${{env.block_var}}"
3030
echo " VAR3 = $task_var"
@@ -33,10 +33,10 @@ jobs:
3333
task_var: "This is a step environment (tasks) variable"
3434
3535
36-
- uses: actions/checkout@v1
37-
- run: ls -la
38-
- run: python3 --version
39-
- run: python3 uravnenie.py
36+
# - uses: actions/checkout@v1
37+
# - run: ls -la
38+
# - run: python3 --version
39+
# - run: python3 uravnenie.py
4040

4141
# - name: Put Msg Into File
4242
# run: sudo echo "Action Started ..." >> /home/action.txt

0 commit comments

Comments
 (0)