Skip to content

Commit 14976dc

Browse files
committed
Add .github
1 parent f5ea861 commit 14976dc

4 files changed

Lines changed: 163 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Исправление или уточнение
2+
description: Сообщите об устаревшем факте, ошибке или неточной формулировке.
3+
title: "[Correction]: "
4+
labels:
5+
- correction
6+
body:
7+
- type: textarea
8+
id: location
9+
attributes:
10+
label: Где ошибка
11+
description: Укажите файл, раздел или ссылку.
12+
placeholder: guides/alfa-bank.md, раздел Spring и Spring Boot
13+
validations:
14+
required: true
15+
- type: textarea
16+
id: problem
17+
attributes:
18+
label: Что не так
19+
placeholder: Формулировка устарела / таблица сломана / ответ неточный.
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: suggestion
24+
attributes:
25+
label: Как исправить
26+
placeholder: Предлагаю заменить на...
27+
- type: input
28+
id: source
29+
attributes:
30+
label: Источник или контекст
31+
description: Ссылка, вакансия, документация или личный опыт интервью.
32+
placeholder: актуальная вакансия / собеседование в мае 2026
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Новый вопрос с собеседования
2+
description: Поделитесь реальным вопросом, задачей или форматом интервью.
3+
title: "[Question]: "
4+
labels:
5+
- interview-question
6+
- contribution
7+
body:
8+
- type: input
9+
id: company
10+
attributes:
11+
label: Компания
12+
description: Например, Сбер, Альфа-Банк, VK, Яндекс, Т1.
13+
placeholder: Сбер
14+
validations:
15+
required: true
16+
- type: input
17+
id: grade
18+
attributes:
19+
label: Грейд / роль
20+
placeholder: Java Middle, Java Junior, AQA Java Junior
21+
validations:
22+
required: true
23+
- type: input
24+
id: date
25+
attributes:
26+
label: Когда было интервью
27+
description: Можно примерно: март 2026, весна 2026.
28+
placeholder: март 2026
29+
- type: input
30+
id: stack
31+
attributes:
32+
label: Стек
33+
placeholder: Java 21, Spring Boot, Kafka, PostgreSQL
34+
- type: textarea
35+
id: questions
36+
attributes:
37+
label: Какие вопросы спрашивали
38+
description: Список вопросов по Java, Spring, SQL, Kafka, тестам, архитектуре.
39+
placeholder: |
40+
- Как устроен HashMap?
41+
- Почему @Transactional не работает при self-invocation?
42+
- Что будет, если Kafka consumer упадёт после обработки сообщения?
43+
validations:
44+
required: true
45+
- type: textarea
46+
id: live_coding
47+
attributes:
48+
label: Live-coding / SQL / code review
49+
description: Если давали задачу, опишите условие и формат.
50+
placeholder: Нужно было найти баги в Spring-сервисе и написать SQL с GROUP BY.
51+
- type: textarea
52+
id: hard_parts
53+
attributes:
54+
label: Что было неожиданным или сложным
55+
placeholder: Больше всего спрашивали не синтаксис, а production-последствия.
56+
- type: checkboxes
57+
id: safety
58+
attributes:
59+
label: Безопасность
60+
options:
61+
- label: Я не публикую NDA, персональные данные и закрытые материалы компании.
62+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Что изменилось
2+
3+
-
4+
5+
## Тип изменения
6+
7+
- [ ] Новый вопрос или задача
8+
- [ ] Исправление ответа
9+
- [ ] Новый гайд или маршрут
10+
- [ ] Навигация / README / сайт
11+
- [ ] Другое
12+
13+
## Чек-лист
14+
15+
- [ ] Вопросы оформлены в стиле: вопрос + короткая подсказка.
16+
- [ ] Кодовые блоки имеют язык (`java`, `sql`, `yaml`, `bash`).
17+
- [ ] Внутренние ссылки открываются.
18+
- [ ] Таблицы корректно рендерятся на GitHub.
19+
- [ ] Нет NDA, персональных данных и закрытых материалов компаний.

.github/workflows/pages.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: "3.12"
29+
30+
- name: Install dependencies
31+
run: pip install -r requirements.txt
32+
33+
- name: Build site
34+
run: mkdocs build --strict
35+
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
with:
39+
path: site
40+
41+
deploy:
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
runs-on: ubuntu-latest
46+
needs: build
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)