Skip to content

Commit

Permalink
Merge branch 'master' into docs/sphinx-warns-and-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby authored Aug 16, 2024
2 parents dec1687 + d1c8170 commit 9ec6b75
Show file tree
Hide file tree
Showing 102 changed files with 1,600 additions and 1,632 deletions.
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
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
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: "26 6 * * 6"

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 9ec6b75

Please sign in to comment.