Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 10430540ed | |||
| 9006862d80 | |||
| 4e2fe2cd88 | |||
| 74519aabc1 | |||
| 5a9d16de59 | |||
| 946568665d | |||
| 599156f8b3 | |||
| 4b7b861263 | |||
| a485f333a4 | |||
| 90ebee91ae | |||
| e42e641898 | |||
| b0245c89da | |||
| 76841ae85a | |||
| 9ff4134367 | |||
| c810bb889a | |||
| 7cca6f856d | |||
| 65c8b55f54 |
25
.gitea/workflows/example-condition.yaml
Normal file
25
.gitea/workflows/example-condition.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: "Example condition"
|
||||||
|
run-name: "Check Job condition"
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- labeled
|
||||||
|
- opened
|
||||||
|
- unlabeled
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-condition:
|
||||||
|
runs-on: sirius # docker, sirius или golang
|
||||||
|
# if: contains(github.event.issue.labels.*.name, 'bug')
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Поздароваемся
|
||||||
|
- name: Hello
|
||||||
|
if: github.event.issue.user.login == 'alex'
|
||||||
|
run: echo "Hello, Alex!!!"
|
||||||
|
|
||||||
|
# Выводим текстовое сообщение
|
||||||
|
- name: Echo test
|
||||||
|
if: contains(github.event.issue.labels.*.name, 'bug')
|
||||||
|
run: echo "${{ toJson(github.event.issue) }}"
|
||||||
19
.gitea/workflows/example-dispatch.yaml
Normal file
19
.gitea/workflows/example-dispatch.yaml
Normal 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
|
||||||
230
gitea.json
230
gitea.json
@@ -1,230 +0,0 @@
|
|||||||
{
|
|
||||||
event: {
|
|
||||||
after: b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
before: 10dae7e9cad3c5211aa8b61fb8f01a9359ed09fa,
|
|
||||||
commits: [
|
|
||||||
{
|
|
||||||
added: [],
|
|
||||||
author: {
|
|
||||||
email: alex.matsuev@gmail.com,
|
|
||||||
name: Alex Matsuev,
|
|
||||||
username: alex
|
|
||||||
},
|
|
||||||
committer: {
|
|
||||||
email: alex.matsuev@gmail.com,
|
|
||||||
name: Alex Matsuev,
|
|
||||||
username: alex
|
|
||||||
},
|
|
||||||
id: b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
message: Upate readme.mdn,
|
|
||||||
modified: [
|
|
||||||
.gitea/workflows/example-action.yaml,
|
|
||||||
README.md
|
|
||||||
],
|
|
||||||
removed: [],
|
|
||||||
timestamp: 2025-11-25T09:04:57+03:00,
|
|
||||||
url: https://sirius.klsh.ru/sirius/actions-laba-1/commit/b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
verification: null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
compare_url: https://sirius.klsh.ru/sirius/actions-laba-1/compare/10dae7e9cad3c5211aa8b61fb8f01a9359ed09fa...b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
head_commit: {
|
|
||||||
added: [],
|
|
||||||
author: {
|
|
||||||
email: alex.matsuev@gmail.com,
|
|
||||||
name: Alex Matsuev,
|
|
||||||
username: alex
|
|
||||||
},
|
|
||||||
committer: {
|
|
||||||
email: alex.matsuev@gmail.com,
|
|
||||||
name: Alex Matsuev,
|
|
||||||
username: alex
|
|
||||||
},
|
|
||||||
id: b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
message: Upate readme.mdn,
|
|
||||||
modified: [
|
|
||||||
.gitea/workflows/example-action.yaml,
|
|
||||||
README.md
|
|
||||||
],
|
|
||||||
removed: [],
|
|
||||||
timestamp: 2025-11-25T09:04:57+03:00,
|
|
||||||
url: https://sirius.klsh.ru/sirius/actions-laba-1/commit/b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
verification: null
|
|
||||||
},
|
|
||||||
pusher: {
|
|
||||||
active: false,
|
|
||||||
avatar_url: https://sirius.klsh.ru/avatars/bff9dcfafc23369ba262f76871b9e333ea23e2b923f10f93fc90e70c43c45d42,
|
|
||||||
created: 2025-11-21T15:58:52Z,
|
|
||||||
description: ,
|
|
||||||
email: alex@noreply.localhost,
|
|
||||||
followers_count: 0,
|
|
||||||
following_count: 0,
|
|
||||||
full_name: ,
|
|
||||||
html_url: https://sirius.klsh.ru/alex,
|
|
||||||
id: 2,
|
|
||||||
is_admin: false,
|
|
||||||
language: ,
|
|
||||||
last_login: 0001-01-01T00:00:00Z,
|
|
||||||
location: ,
|
|
||||||
login: alex,
|
|
||||||
login_name: ,
|
|
||||||
prohibit_login: false,
|
|
||||||
restricted: false,
|
|
||||||
source_id: 0,
|
|
||||||
starred_repos_count: 0,
|
|
||||||
username: alex,
|
|
||||||
visibility: public,
|
|
||||||
website:
|
|
||||||
},
|
|
||||||
ref: refs/heads/main,
|
|
||||||
repository: {
|
|
||||||
allow_fast_forward_only_merge: true,
|
|
||||||
allow_manual_merge: false,
|
|
||||||
allow_merge_commits: true,
|
|
||||||
allow_rebase: true,
|
|
||||||
allow_rebase_explicit: true,
|
|
||||||
allow_rebase_update: true,
|
|
||||||
allow_squash_merge: true,
|
|
||||||
archived: false,
|
|
||||||
archived_at: 1970-01-01T00:00:00Z,
|
|
||||||
autodetect_manual_merge: false,
|
|
||||||
avatar_url: ,
|
|
||||||
clone_url: https://sirius.klsh.ru/sirius/actions-laba-1.git,
|
|
||||||
created_at: 2025-11-24T12:20:04Z,
|
|
||||||
default_allow_maintainer_edit: false,
|
|
||||||
default_branch: main,
|
|
||||||
default_delete_branch_after_merge: false,
|
|
||||||
default_merge_style: merge,
|
|
||||||
description: ,
|
|
||||||
empty: false,
|
|
||||||
fork: false,
|
|
||||||
forks_count: 0,
|
|
||||||
full_name: sirius/actions-laba-1,
|
|
||||||
has_actions: true,
|
|
||||||
has_code: false,
|
|
||||||
has_issues: true,
|
|
||||||
has_packages: true,
|
|
||||||
has_projects: true,
|
|
||||||
has_pull_requests: true,
|
|
||||||
has_releases: true,
|
|
||||||
has_wiki: true,
|
|
||||||
html_url: https://sirius.klsh.ru/sirius/actions-laba-1,
|
|
||||||
id: 10,
|
|
||||||
ignore_whitespace_conflicts: false,
|
|
||||||
internal: false,
|
|
||||||
internal_tracker: {
|
|
||||||
allow_only_contributors_to_track_time: true,
|
|
||||||
enable_issue_dependencies: true,
|
|
||||||
enable_time_tracker: false
|
|
||||||
},
|
|
||||||
language: ,
|
|
||||||
languages_url: https://sirius.klsh.ru/api/v1/repos/sirius/actions-laba-1/languages,
|
|
||||||
licenses: [],
|
|
||||||
link: ,
|
|
||||||
mirror: false,
|
|
||||||
mirror_interval: ,
|
|
||||||
mirror_updated: 0001-01-01T00:00:00Z,
|
|
||||||
name: actions-laba-1,
|
|
||||||
object_format_name: sha1,
|
|
||||||
open_issues_count: 1,
|
|
||||||
open_pr_counter: 0,
|
|
||||||
original_url: ,
|
|
||||||
owner: {
|
|
||||||
active: false,
|
|
||||||
avatar_url: https://sirius.klsh.ru/avatars/093f966b4d14b19adf2835e4775e3aee,
|
|
||||||
created: 2025-11-21T16:11:41Z,
|
|
||||||
description: ,
|
|
||||||
email: ,
|
|
||||||
followers_count: 0,
|
|
||||||
following_count: 0,
|
|
||||||
full_name: ,
|
|
||||||
html_url: https://sirius.klsh.ru/sirius,
|
|
||||||
id: 3,
|
|
||||||
is_admin: false,
|
|
||||||
language: ,
|
|
||||||
last_login: 0001-01-01T00:00:00Z,
|
|
||||||
location: ,
|
|
||||||
login: sirius,
|
|
||||||
login_name: ,
|
|
||||||
prohibit_login: false,
|
|
||||||
restricted: false,
|
|
||||||
source_id: 0,
|
|
||||||
starred_repos_count: 0,
|
|
||||||
username: sirius,
|
|
||||||
visibility: public,
|
|
||||||
website:
|
|
||||||
},
|
|
||||||
permissions: {
|
|
||||||
admin: true,
|
|
||||||
pull: true,
|
|
||||||
push: true
|
|
||||||
},
|
|
||||||
private: false,
|
|
||||||
projects_mode: all,
|
|
||||||
release_counter: 0,
|
|
||||||
size: 33,
|
|
||||||
ssh_url: git@sirius.klsh.ru:sirius/actions-laba-1.git,
|
|
||||||
stars_count: 0,
|
|
||||||
template: false,
|
|
||||||
topics: [],
|
|
||||||
updated_at: 2025-11-25T06:00:34Z,
|
|
||||||
url: https://sirius.klsh.ru/api/v1/repos/sirius/actions-laba-1,
|
|
||||||
watchers_count: 25,
|
|
||||||
website:
|
|
||||||
},
|
|
||||||
sender: {
|
|
||||||
active: false,
|
|
||||||
avatar_url: https://sirius.klsh.ru/avatars/bff9dcfafc23369ba262f76871b9e333ea23e2b923f10f93fc90e70c43c45d42,
|
|
||||||
created: 2025-11-21T15:58:52Z,
|
|
||||||
description: ,
|
|
||||||
email: alex@noreply.localhost,
|
|
||||||
followers_count: 0,
|
|
||||||
following_count: 0,
|
|
||||||
full_name: ,
|
|
||||||
html_url: https://sirius.klsh.ru/alex,
|
|
||||||
id: 2,
|
|
||||||
is_admin: false,
|
|
||||||
language: ,
|
|
||||||
last_login: 0001-01-01T00:00:00Z,
|
|
||||||
location: ,
|
|
||||||
login: alex,
|
|
||||||
login_name: ,
|
|
||||||
prohibit_login: false,
|
|
||||||
restricted: false,
|
|
||||||
source_id: 0,
|
|
||||||
starred_repos_count: 0,
|
|
||||||
username: alex,
|
|
||||||
visibility: public,
|
|
||||||
website:
|
|
||||||
},
|
|
||||||
total_commits: 0
|
|
||||||
},
|
|
||||||
event_path: /var/run/act/workflow/event.json,
|
|
||||||
workflow: Example action,
|
|
||||||
run_id: 101,
|
|
||||||
run_number: 10,
|
|
||||||
actor: alex,
|
|
||||||
repository: sirius/actions-laba-1,
|
|
||||||
event_name: push,
|
|
||||||
sha: b231032a6e795e7a7b0420e9cdf70290a1b64f62,
|
|
||||||
ref: refs/heads/main,
|
|
||||||
ref_name: main,
|
|
||||||
ref_type: branch,
|
|
||||||
head_ref: ,
|
|
||||||
base_ref: ,
|
|
||||||
token: ***,
|
|
||||||
workspace: /workspace/sirius/actions-laba-1,
|
|
||||||
action: 3,
|
|
||||||
action_path: ,
|
|
||||||
action_ref: ,
|
|
||||||
action_repository: ,
|
|
||||||
job: second-job,
|
|
||||||
job_name: ,
|
|
||||||
repository_owner: sirius,
|
|
||||||
retention_days: ,
|
|
||||||
runner_perflog: /dev/null,
|
|
||||||
runner_tracking_id: ,
|
|
||||||
server_url: https://sirius.klsh.ru,
|
|
||||||
api_url: https://sirius.klsh.ru/api/v1,
|
|
||||||
graphql_url:
|
|
||||||
}
|
|
||||||
1
issue.json
Normal file
1
issue.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
hjkdshf ahsldf
|
||||||
Reference in New Issue
Block a user