1 Commits
v1.0.0 ... main

Author SHA1 Message Date
10430540ed Update 2025-11-25 15:01:10 +03:00
3 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
name: "Example action" name: "Example action"
run-name: "example action" run-name: "Start example action"
on: on:
push: push:
@@ -8,13 +8,13 @@ on:
jobs: jobs:
second-job: second-job:
runs-on: sirius # docker, sirius или golang runs-on: docker # docker, sirius или golang
steps: steps:
- run: | - run: |
if [ ${{ gitea.actor }} == 'VlaDislava28' ]; then if [ ${{ gitea.actor }} == 'alex' ]; then
echo "Hello, ${{ gitea.actor }}" echo "Hello, ${{ gitea.actor }}"
else else
echo "Hello, Vlada" echo "Hello, student"
fi fi
# Клонируем репозиторий для Runnera # Клонируем репозиторий для Runnera

View File

@@ -14,7 +14,12 @@ jobs:
# if: contains(github.event.issue.labels.*.name, 'bug') # if: contains(github.event.issue.labels.*.name, 'bug')
steps: steps:
# Поздароваемся
- name: Hello
if: github.event.issue.user.login == 'alex'
run: echo "Hello, Alex!!!"
# Выводим текстовое сообщение # Выводим текстовое сообщение
- name: Echo test - name: Echo test
# if: contains(github.event.issue.labels.*.name, 'bug') if: contains(github.event.issue.labels.*.name, 'bug')
run: echo "${{ toJson(github.event.issue) }}" run: echo "${{ toJson(github.event.issue) }}"

1
issue.json Normal file
View File

@@ -0,0 +1 @@
hjkdshf ahsldf