Skip to content

Commit f9a1d2c

Browse files
dspashynskyiypldanclaude
authored
feat: add preparations for public repo (#9)
Co-authored-by: Daniil Yarmalkevich <daniil_yarmalkevich@epam.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 174f527 commit f9a1d2c

17 files changed

Lines changed: 426 additions & 139 deletions

.claude/settings.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,38 @@
1313
},
1414
"enabledPlugins": {
1515
"pyright-lsp@claude-plugins-official": true
16+
},
17+
"hooks": {
18+
"PostToolUse": [
19+
{
20+
"matcher": "Edit|Write",
21+
"hooks": [
22+
{
23+
"type": "command",
24+
"command": "make format",
25+
"statusMessage": "Formatting code..."
26+
}
27+
]
28+
}
29+
],
30+
"PreToolUse": [
31+
{
32+
"matcher": "Bash",
33+
"hooks": [
34+
{
35+
"type": "command",
36+
"command": "make lint",
37+
"if": "Bash(git commit *)",
38+
"statusMessage": "Running linter..."
39+
},
40+
{
41+
"type": "command",
42+
"command": "make test",
43+
"if": "Bash(git commit *)",
44+
"statusMessage": "Running unit tests..."
45+
}
46+
]
47+
}
48+
]
1649
}
1750
}

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* @ypldan
2+
/.github/ @nepalevov @alexey-ban
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 🐞 Bug report
2+
description: Create a report to help us improve
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for reporting an issue to improve DIAL.
9+
Please fill in as much of the following form as you're able.
10+
- type: input
11+
attributes:
12+
label: Name and Version
13+
description: Application name and version
14+
placeholder: dial 1.2.3
15+
validations:
16+
required: true
17+
- type: textarea
18+
attributes:
19+
label: What steps will reproduce the bug?
20+
description: Enter details about your bug.
21+
placeholder: |
22+
1. In this environment...
23+
2. With this config...
24+
3. Run '...'
25+
4. See error...
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: What is the expected behavior?
31+
description: If possible please provide textual output instead of screenshots.
32+
- type: textarea
33+
attributes:
34+
label: What do you see instead?
35+
description: If possible please provide textual output instead of screenshots.
36+
validations:
37+
required: true
38+
- type: textarea
39+
attributes:
40+
label: Additional information
41+
description: Tell us anything else you think we should know.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "🚀 Feature request"
2+
description: Suggest an idea for this project
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for suggesting an idea to improve DIAL.
9+
Please fill in as much of the following form as you're able.
10+
- type: input
11+
attributes:
12+
label: Name and Version
13+
description: Application name and version
14+
placeholder: dial 1.2.3
15+
validations:
16+
required: true
17+
- type: textarea
18+
attributes:
19+
label: What is the problem this feature will solve?
20+
validations:
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: What is the feature you are proposing to solve the problem?
25+
description: Describe the requests. If you already have something in mind... PRs are welcome!
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: What alternatives have you considered?

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 📝 Talk in Discord
4+
url: https://discord.gg/jvTCQv4E4q
5+
about: Discuss your question in Discord

.github/dependabot.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "wednesday"
8+
time: "09:00"
9+
# Disable version updates, keep security updates only
10+
open-pull-requests-limit: 0
11+
commit-message:
12+
# Prefix all commit messages with "chore: "
13+
prefix: "chore"
14+
- package-ecosystem: "github-actions"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
day: "wednesday"
19+
time: "09:00"
20+
commit-message:
21+
# Prefix all commit messages with "chore: "
22+
prefix: "chore"
23+
groups:
24+
ai-dial-ci:
25+
applies-to: version-updates
26+
patterns:
27+
- "epam/ai-dial-ci/*"
28+
github-actions:
29+
applies-to: version-updates
30+
patterns:
31+
- "*"
32+
exclude-patterns:
33+
- "epam/ai-dial-ci/*"
34+
open-pull-requests-limit: 10

.github/pull_request_template.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### Applicable issues
2+
3+
<!-- Please link the GitHub issues related to this PR (You can reference an issue using # then number, e.g. #123) -->
4+
- fixes #
5+
6+
### Description of changes
7+
8+
<!-- Please explain the changes you made right below this line. -->
9+
10+
### Checklist
11+
12+
<!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->
13+
14+
- [ ] Title of the pull request follows [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/)
15+
16+
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Cleanup untagged images
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
clean:
9+
name: Delete untagged images
10+
runs-on: ubuntu-latest
11+
permissions:
12+
packages: write
13+
steps:
14+
- uses: dataaxiom/ghcr-cleanup-action@cd0cdb900b5dbf3a6f2cc869f0dbb0b8211f50c4 # v1.0.16
15+
with:
16+
delete-untagged: true
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy development
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
workflow_dispatch: # manual run
8+
registry_package: # on new package version (main path)
9+
workflow_run: # HACK: redundant trigger to mitigate GitHub's huge delays in registry_package event processing
10+
workflows: ["Release Workflow"]
11+
types:
12+
- completed
13+
14+
jobs:
15+
gitlab-dev-deploy:
16+
if: |
17+
github.event_name == 'workflow_dispatch' ||
18+
github.event.registry_package.package_version.container_metadata.tag.name == 'development' ||
19+
(github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'development')
20+
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@3.1.3
21+
with:
22+
gitlab-project-id: "3051"
23+
secrets:
24+
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
25+
DEPLOY_ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
26+
DEPLOY_TRIGGER_TOKEN: ${{ secrets.DEPLOY_TRIGGER_TOKEN }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Validate PR title"
2+
3+
permissions:
4+
contents: read
5+
pull-requests: read
6+
7+
on:
8+
pull_request_target:
9+
types:
10+
- opened
11+
- edited
12+
- reopened
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
pr-title-check:
20+
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@3.1.3
21+
secrets:
22+
ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}

0 commit comments

Comments
 (0)