Skip to content

Commit f0b55c4

Browse files
committed
feat: init projects
1 parent c975a8f commit f0b55c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+178
-0
lines changed

.github/workflows/auto-invite.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Invite users to join our group
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
jobs:
7+
issue_comment:
8+
name: Invite users to join our group
9+
if: ${{ github.event.comment.body == '/invite' || github.event.comment.body == '/close' || github.event.comment.body == '/comment' }}
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
steps:
14+
15+
- name: Invite user to join our group
16+
uses: peter-evans/create-or-update-comment@v1
17+
with:
18+
token: ${{ secrets.BOT_GITHUB_TOKEN }}
19+
issue-number: ${{ github.event.issue.number }}
20+
body: |
21+
hello ~
22+
23+
- name: Close Issue
24+
uses: peter-evans/close-issue@v3
25+
with:
26+
token: ${{ secrets.BOT_GITHUB_TOKEN }}
27+
issue-number: ${{ github.event.issue.number }}
28+
comment: 🤖 Auto-closing issue, if you still need help please reopen the issue or ask for help in the community above
29+
labels: |
30+
triage/accepted

.github/workflows/e2e-test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: e2e
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
schedule:
8+
# run e2e test every 4 hours
9+
- cron: 0 */4 * * *
10+
11+
jobs:
12+
build:
13+
name: Test
14+
runs-on: ubuntu-latest
15+
env:
16+
GO111MODULE: on
17+
steps:
18+
19+
- name: Set up Go 1.21
20+
uses: actions/setup-go@v2
21+
with:
22+
go-version: 1.21
23+
id: go
24+
25+
- name: Upload coverage reports to Codecov
26+
uses: codecov/codecov-action@v3
27+
env:
28+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
29+
30+
- name: Check out code into the Go module directory
31+
uses: actions/checkout@v2
32+
33+
- name: Create e2e test
34+
run: |
35+
echo "...test e2e"

.github/workflows/issue-robot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'issue translator'
2+
on:
3+
issue_comment:
4+
types: [created]
5+
issues:
6+
types: [opened]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: usthe/[email protected]
13+
with:
14+
# it is not necessary to decide whether you need to modify the issue header content
15+
IS_MODIFY_TITLE: true
16+
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
17+
# Required, input your bot github token

.github/workflows/link-pr.yml

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Move new issues into Triage
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
automate-project-columns:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: alex-page/[email protected]
12+
with:
13+
project: OpenKF
14+
column: In Progress
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/stale.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
8+
on:
9+
schedule:
10+
- cron: '0 8 * * *'
11+
12+
jobs:
13+
stale:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
19+
steps:
20+
- uses: actions/stale@v5
21+
with:
22+
repo-token: ${{ secrets.BOT_GITHUB_TOKEN }}
23+
days-before-stale: 60
24+
days-before-close: 30
25+
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
26+
stale-pr-message: 'This issue is stale because it has been open 60 days with no activity.'
27+
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
28+
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity. You can reopen it if you want.'
29+
stale-pr-label: lifecycle/stale
30+
stale-issue-label: lifecycle/stale
31+
exempt-issue-labels: 'openim'
32+
exempt-pr-labels: 'openim'
33+
exempt-draft-pr: true

ai_commons/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

ai_commons/api_clients/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# OpenAI client module
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Slack client module

0 commit comments

Comments
 (0)