Skip to content

Commit 13c241c

Browse files
authored
Update: v0.6.0
This update is the setup for v0.7.x, where everything will be redone and migrated to discord.py. This release implements many of the utilities that will be used for the next update. For more info, please read the changelog ~ ! - Noelle
2 parents c6b4ad0 + 18b9e6e commit 13c241c

File tree

104 files changed

+2845
-6007
lines changed

Some content is hidden

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

104 files changed

+2845
-6007
lines changed

.env-docker-example

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,24 @@
44
##################################################################
55

66
# Prod Bot Token
7-
KUMIKO_TOKEN="token"
7+
KUMIKO_TOKEN=token
88

99
# Note that if you are using the production builds, use the same exact token as KUMIKO_TOKEN.
1010
# If you are using the development builds, use the token that you wish to use for the dev bot.
11-
DEV_BOT_TOKEN="token"
11+
DEV_BOT_TOKEN=token
1212

1313
# Rin's API Keys + Access Tokens
14-
GITHUB_API_ACCESS_TOKEN="apiKey"
15-
REDDIT_ID="apiKey"
16-
REDDIT_SECRET="apiKey"
17-
TENOR_API_KEY="apiKey"
18-
TWITTER_BEARER_TOKEN="apiKey"
19-
YOUTUBE_API_KEY="apiKey"
14+
GITHUB_API_ACCESS_TOKEN=apiKey
15+
REDDIT_ID=apiKey
16+
REDDIT_SECRET=apiKey
17+
TENOR_API_KEY=apiKey
18+
YOUTUBE_API_KEY=apiKey
2019

2120
# IPC Server Key
22-
IPC_SECRET_KEY="key"
21+
IPC_SECRET_KEY=key
2322

24-
# DB Credentials
25-
# Postgres Credentials
26-
POSTGRES_PASSWORD="password"
27-
POSTGRES_USER="user"
28-
POSTGRES_IP="ip"
29-
POSTGRES_PORT="port"
30-
POSTGRES_KUMIKO_DB="db"
31-
32-
# MongoDB Credentials
33-
MONGODB_PASSWORD="password"
34-
MONGODB_USER="user"
35-
MONGODB_IP="ip"
36-
MONGODB_PORT="port"
23+
DATABASE_URL=postgresql://user:password@host:port/database
3724

3825
# Redis Credentials
39-
REDIS_IP="ip"
40-
REDIS_PORT="port"
41-
42-
##################################################################
43-
# Docker Compose ENV Example #
44-
# Replace the values with the appropriate values #
45-
# If you are not using Docker Compose, dont worry abt this. #
46-
##################################################################
47-
48-
MONGO_INITDB_ROOT_USERNAME="user"
49-
MONGO_INITDB_ROOT_PASSWORD="password"
50-
MONGO_INITDB_DATABASE="kumiko_marketplace"
26+
REDIS_IP=ip
27+
REDIS_PORT=port

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: Gr1N/setup-poetry@v8
3434
- name: Cache Poetry
3535
id: cache-poetry
36-
uses: actions/cache@v3.2.6
36+
uses: actions/cache@v3.3.0
3737
with:
3838
path: ~/.cache/pypoetry/virtualenvs
3939
key: ${{ runner.os }}-poetry-v3-${{ hashFiles('**/poetry.lock') }}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Dependabot Auto-Merge
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
workflow_run:
7+
workflows: ["Tests", "CodeQL", "Snyk", "Docker Build"]
8+
branches: [dev]
9+
types:
10+
- completed
11+
12+
permissions:
13+
pull-requests: write
14+
contents: write
15+
16+
jobs:
17+
dependabot:
18+
runs-on: ubuntu-latest
19+
if: ${{ github.actor == 'dependabot[bot]'}}
20+
steps:
21+
- name: Dependabot metadata
22+
id: metadata
23+
uses: dependabot/fetch-metadata@v1
24+
with:
25+
github-token: "${{ secrets.GITHUB_TOKEN }}"
26+
- name: Enable auto-merge for Dependabot PRs
27+
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
28+
run: gh pr merge --auto --squash "$PR_URL"
29+
env:
30+
PR_URL: ${{github.event.pull_request.html_url}}
31+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)