Skip to content

Commit b885a8b

Browse files
Allobnepalevov
andauthored
chore: add github CI files (#4)
Co-authored-by: Vladislav Yatsun <vyatsun@deltixlab.com>
1 parent e3f1190 commit b885a8b

File tree

15 files changed

+212
-8
lines changed

15 files changed

+212
-8
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* @Allob
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: ai-dial-log-parser 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: ai-dial-log-parser 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.com/channels/831132799535939614/1172686875299950683
5+
about: Discuss your question in Discord

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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"

.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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Validate PR title"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
pr-title-check:
16+
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@2.2.0
17+
secrets:
18+
ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}

.github/workflows/pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: PR Workflow
2+
3+
on:
4+
pull_request:
5+
branches: [development, release-*]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
run_tests:
13+
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@2.2.0
14+
secrets: inherit
15+
with:
16+
python-version: "3.12"

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Workflow
2+
3+
on:
4+
push:
5+
branches: [development, release-*]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
release:
13+
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@2.2.0
14+
secrets: inherit
15+
with:
16+
python-version: "3.12"

0 commit comments

Comments
 (0)