Apollo Initial Files

This commit is contained in:
2024-10-26 20:33:18 +08:00
commit 2d302551f9
82 changed files with 10643 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
---
name: "\U0001F41B Bug Report"
about: Report a suspected bug or problem
title: '🐛 '
labels: 'bug: unconfirmed'
assignees: ''
---
**Describe the bug**
A description of what the bug is.
**How To Reproduce**
Steps to reproduce the behavior:
1.
2.
**Expected behavior**
A description of what you expected to happen.
**Environment (add if possible)**
* Node.js version:
**Additional information & screenshots**
Add any other context or screenshots about the problem here.
@@ -0,0 +1,20 @@
---
name: "\U0001F680 Feature Request"
about: Suggest an idea for this project
title: '🚀 '
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A description of what you want to happen.
**Describe alternatives you've considered**
A description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+7
View File
@@ -0,0 +1,7 @@
contact_links:
- name: ❔ Questions / Help
url: https://github.com/eritislami/evobot/discussions
about: Please use GitHub Discussions for help and questions, do not start an issue.
- name: 📃 Discord.js Guide
url: https://discordjs.guide/
about: The official guide for discord.js
+30
View File
@@ -0,0 +1,30 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: soundcloud-downloader
versions:
- ">= 1.a, < 2"
- dependency-name: discord.js
versions:
- 12.5.2
- 12.5.3
- dependency-name: ffmpeg-static
versions:
- 4.2.8
- 4.3.0
- dependency-name: ytdl-core-discord
versions:
- 1.3.0
- dependency-name: "@discordjs/opus"
versions:
- 0.4.0
- 0.5.0
- dependency-name: ytdl-core
versions:
- 4.5.0
+14
View File
@@ -0,0 +1,14 @@
only: issues
daysUntilStale: 30
daysUntilClose: 7
exemptLabels:
- "suspected bug"
- "in progress"
- "enhancement"
- "dependencies"
staleLabel: stale
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
+60
View File
@@ -0,0 +1,60 @@
name: Docker Hub
on:
release:
types: [published]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: docker.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
# QEMU for emulation
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# Docker Buildx for creating multi arch docker images
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# Login against a Docker registry when not a PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
+26
View File
@@ -0,0 +1,26 @@
name: Node.js CI
on:
push:
branches: [master]
paths-ignore:
- README.md
- .github/**
- locales/**
- sounds/**
- package.json
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.11.0
uses: actions/setup-node@v3
with:
node-version: "16.11.0"
cache: "npm"
- run: npm ci
- run: npm run build --if-present