This commit is contained in:
2025-11-29 12:58:15 +03:00
7 changed files with 27 additions and 6 deletions

View File

@@ -3,13 +3,14 @@ run-name: "Start example action"
on: on:
push: push:
tags:
- v*.*.*
jobs: jobs:
second-job: second-job:
runs-on: golang runs-on: golang
steps: steps:
- run: | - run: |
if [ ${{ gitea.actor }} == 'wwitchq' ]; then if [ ${{ gitea.actor }} == 'wwitchq' ]; then
echo "Hello, ${{ gitea.actor }}" echo "Hello, ${{ gitea.actor }}"
else else

View File

@@ -26,4 +26,3 @@ jobs:
- 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) }}"

View File

@@ -0,0 +1,19 @@
name: "Example dispatch"
on:
workflow_dispatch:
jobs:
echo-test:
runs-on: docker # docker, sirius или golang
steps:
# Выводим текстовое сообщение
- name: Echo test
run: echo "Hello!"
- name: Install kubectl action
uses: tale/kubectl-action@v1
with:
base64-kube-config: ${{ secrets.KUBE_CONFIG }}
- run: kubectl get pods

1
issue.json Normal file
View File

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

View File

@@ -1 +0,0 @@
uraaaaaa

4
test.txt Normal file
View File

@@ -0,0 +1,4 @@
hdjksfh adhsjfk hadslkjh
jkfbjkasdbf asdj fhaksdj hf jklasdl
sakfdh kashf khaslfkh aksdfhljh

View File

@@ -1,2 +0,0 @@
hello
good