Skip to content

Commit 86583d6

Browse files
committed
Merge branch 'master' into partial-autocomplete
2 parents d8323e6 + 9d09337 commit 86583d6

Some content is hidden

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

89 files changed

+3504
-470
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
* @Pycord-Development/maintainers
1+
* @Pycord-Development/library-maintainers @Pycord-Development/library-contributors
22

3-
/tests/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
4-
/discord/ext/testing/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
5-
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge @Pycord-Development/maintainers
6-
/.github/ @Pycord-Development/maintainers @Lulalaby
3+
/discord/ @Pycord-Development/maintain-discord-api
4+
5+
/tests/ @Pycord-Development/maintain-tests
6+
/discord/ext/testing/ @Pycord-Development/maintain-tests
7+
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge
8+
/.github/ @Lulalaby
79
/docs/locales/ @Pycord-Development/maintain-translations
810
/docs/build/locales/ @Pycord-Development/maintain-translations
911
/.github/workflows/docs-localization-download.yml @Pycord-Development/maintain-translations

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Version | Supported |
66
| ------- | ------------------ |
77
| 2.x | :white_check_mark: |
8-
| <2.0.0 | :x: |
8+
| <2.6.1 | :x: |
99

1010
## Reporting a Vulnerability
1111

.github/dependabot.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
language: ["python"]
2727
steps:
2828
- name: "Checkout repository"
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
- name: "Initialize CodeQL"
3131
uses: github/codeql-action/init@v3
3232
with:

.github/workflows/docs-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: "Checkout Repository"
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040
- name: "Setup Python"
41-
uses: actions/setup-python@v5
41+
uses: actions/setup-python@v6
4242
with:
4343
python-version: "3.13"
4444
cache: "pip"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Docs JSON Export
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
jobs:
10+
export-docs-json:
11+
name: Export docs.json
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
id: checkout
16+
uses: actions/checkout@v5
17+
- name: Set up Python
18+
uses: actions/setup-python@v6
19+
id: setup-python
20+
with:
21+
python-version: "3.13"
22+
cache: "pip"
23+
cache-dependency-path: "requirements/docs.txt"
24+
check-latest: true
25+
- name: Install dependencies
26+
id: install-deps
27+
run: |
28+
python -m pip install -U pip
29+
pip install ".[docs]"
30+
pip install beautifulsoup4
31+
- name: Build Sphinx HTML docs
32+
id: build-sphinx
33+
run: sphinx-build -b html docs docs/_build/html
34+
- name: Export docs.json
35+
id: generate-json
36+
run: python scripts/docs_json_exporter.py
37+
- name: Upload docs.json as artifact
38+
uses: actions/[email protected]
39+
id: artifact-upload
40+
with:
41+
name: Pycord Docs JSON
42+
path: docs.json
43+
retention-days: 1
44+
- name: Show docs.json summary
45+
run: |
46+
head -n 40 docs.json || tail -n 40 docs.json
47+
- name: Output artifact ID
48+
run: |
49+
echo "artifact-id=${{ steps.artifact-upload.outputs.artifact-id }}" >> $GITHUB_OUTPUT
50+
echo "artifact-url=${{ steps.artifact-upload.outputs.artifact-url }}" >> $GITHUB_OUTPUT
51+
echo "::notice::Artifact uploaded: ${{ steps.artifact-upload.outputs.artifact-url }}"

.github/workflows/docs-localization-download.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
pr_id: ${{ steps.convert_outputs.outputs.pr_id }}
1616
steps:
1717
- name: "Checkout Repository"
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
fetch-tags: true
2121
- name: "Install Python"
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: "3.13"
2525
cache: "pip"
@@ -40,7 +40,7 @@ jobs:
4040
working-directory: ./docs
4141
- name: "Crowdin"
4242
id: crowdin
43-
uses: crowdin/github-action@v2.9.1
43+
uses: crowdin/github-action@v2.11.0
4444
with:
4545
upload_sources: false
4646
upload_translations: false
@@ -74,7 +74,7 @@ jobs:
7474
environment: translations
7575
steps:
7676
- name: "Checkout Repository"
77-
uses: actions/checkout@v4
77+
uses: actions/checkout@v5
7878
- name: "Refresh Pull"
7979
run: |
8080
git fetch --all

.github/workflows/docs-localization-upload.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
environment: translations
2121
steps:
2222
- name: "Checkout Repository"
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
fetch-tags: true
2626
- name: "Install Python"
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: "3.13"
3030
cache: "pip"
@@ -44,7 +44,7 @@ jobs:
4444
sphinx-intl update -p ./build/locales ${{ vars.SPHINX_LANGUAGES }}
4545
working-directory: ./docs
4646
- name: "Crowdin"
47-
uses: crowdin/github-action@v2.9.1
47+
uses: crowdin/github-action@v2.11.0
4848
with:
4949
upload_sources: true
5050
upload_translations: false

.github/workflows/lib-checks.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: "Checkout Repository"
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
- name: "Setup Python"
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@v6
3838
with:
3939
python-version: "3.13"
4040
cache: "pip"
@@ -52,9 +52,9 @@ jobs:
5252
runs-on: ubuntu-latest
5353
steps:
5454
- name: "Checkout Repository"
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v5
5656
- name: "Setup Python"
57-
uses: actions/setup-python@v5
57+
uses: actions/setup-python@v6
5858
with:
5959
python-version: "3.13"
6060
cache: "pip"
@@ -70,9 +70,9 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: "Checkout Repository"
73-
uses: actions/checkout@v4
73+
uses: actions/checkout@v5
7474
- name: "Setup Python"
75-
uses: actions/setup-python@v5
75+
uses: actions/setup-python@v6
7676
with:
7777
python-version: "3.13"
7878
cache: "pip"
@@ -94,9 +94,9 @@ jobs:
9494
runs-on: ubuntu-latest
9595
steps:
9696
- name: "Checkout Repository"
97-
uses: actions/checkout@v4
97+
uses: actions/checkout@v5
9898
- name: "Setup Python"
99-
uses: actions/setup-python@v5
99+
uses: actions/setup-python@v6
100100
with:
101101
python-version: "3.13"
102102
cache: "pip"
@@ -131,9 +131,9 @@ jobs:
131131
PYTHON: ${{ matrix.python-version }}
132132
steps:
133133
- name: "Checkout Repository"
134-
uses: actions/checkout@v4
134+
uses: actions/checkout@v5
135135
- name: "Setup Python"
136-
uses: actions/setup-python@v5
136+
uses: actions/setup-python@v6
137137
with:
138138
python-version: ${{ matrix.python-version }}
139139
cache: "pip"

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: "Check Semantic Pull Request"
28-
uses: amannn/action-semantic-pull-request@v5.5.3
28+
uses: amannn/action-semantic-pull-request@v6.1.1
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)