Skip to content

Commit

Permalink
Merge branch 'master' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby authored Aug 16, 2024
2 parents 6f10c5f + b766a96 commit 9e6dbf8
Show file tree
Hide file tree
Showing 98 changed files with 1,459 additions and 1,472 deletions.
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
* @Pycord-Development/maintainers

/tests/ @Pycord-Development/maintain-tests
/discord/ext/testing/ @Pycord-Development/maintain-tests
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge
/tests/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
/discord/ext/testing/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge @Pycord-Development/maintainers
/.github/ @Pycord-Development/maintainers @Lulalaby
/docs/locales/ @Pycord-Development/maintain-translations
/docs/build/locales/ @Pycord-Development/maintain-translations
Expand Down
18 changes: 16 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,30 @@ version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
groups:
minor-version-bumps:
update-types: ["minor"]
patch-version-bumps:
update-types: ["patch"]
major-version-bumps:
update-types: ["major"]
schedule:
interval: "daily"
interval: "weekly"
commit-message:
prefix: "chore"
prefix-development: "chore"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"
groups:
minor-version-bumps:
update-types: ["minor"]
patch-version-bumps:
update-types: ["patch"]
major-version-bumps:
update-types: ["major"]
schedule:
interval: "daily"
interval: "weekly"
commit-message:
prefix: "ci"
include: "scope"
65 changes: 0 additions & 65 deletions .github/workflows/.cleanup-todo

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/check.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "CodeQL"

on:
push:
branches: [master]
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: "Analyze"
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["python"]
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Initialize CodeQL"
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: "Autobuild"
uses: github/codeql-action/autobuild@v3
- name: "Perform CodeQL Analysis"
uses: github/codeql-action/analyze@v3
54 changes: 54 additions & 0 deletions .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: "Documentation Checks"

on:
push:
paths:
- "discord/**"
- "docs/**"
- "requirements/**"
- "*.toml"
- "*.py"
branches: [master]
pull_request:
paths:
- "discord/**"
- "docs/**"
- "requirements/"
- "*.toml"
- "*.py"
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions: write-all

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: "requirements/docs.txt"
check-latest: true
- name: Install dependencies
run: |
python -m pip install -U pip
pip install ".[docs]"
- name: "Check Links"
if: ${{ github.event_name == 'schedule' }}
run: |
cd docs
make linkcheck
- name: "Compile to html"
run: |
cd docs
make -e SPHINXOPTS="-D language='en'" html
Loading

0 comments on commit 9e6dbf8

Please sign in to comment.