Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[flake8]
filename =
*.py,
*.pys
*.py
max-line-length = 120
extend-exclude =
.venv/
venv/
81 changes: 67 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,97 @@

version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "cron"
cronjob: "0 1 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10

- package-ecosystem: "docker"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "daily"
time: "08:00"
interval: "cron"
cronjob: "30 1 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10

- package-ecosystem: "github-actions"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "daily"
time: "08:30"
interval: "cron"
cronjob: "0 2 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10
groups:
docker-actions:
applies-to: version-updates
patterns:
- "docker/*"
github-actions:
applies-to: version-updates
patterns:
- "actions/*"
- "github/*"
lizardbyte-actions:
applies-to: version-updates
patterns:
- "LizardByte/*"

- package-ecosystem: "gitsubmodule"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "cron"
cronjob: "30 2 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10

- package-ecosystem: "npm"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "daily"
time: "09:00"
interval: "cron"
cronjob: "0 3 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10
groups:
dev-dependencies:
applies-to: version-updates
dependency-type: "development"

- package-ecosystem: "nuget"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "daily"
time: "09:30"
interval: "cron"
cronjob: "30 3 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10

- package-ecosystem: "pip"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "daily"
time: "10:00"
interval: "cron"
cronjob: "0 4 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 10
groups:
pytest-dependencies:
applies-to: version-updates
patterns:
- "pytest*"

- package-ecosystem: "gitsubmodule"
- package-ecosystem: "rust-toolchain"
directory: "/"
rebase-strategy: disabled
schedule:
interval: "daily"
time: "10:30"
open-pull-requests-limit: 10
interval: "cron"
cronjob: "30 4 * * *"
timezone: "America/New_York"
open-pull-requests-limit: 1
49 changes: 0 additions & 49 deletions .github/label-actions.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ titleAndCommits: false
anyCommit: false
allowMergeCommits: false
allowRevertCommits: false
targetUrl: https://docs.lizardbyte.dev/latest/developers/contributing.html#creating-a-pull-request
30 changes: 30 additions & 0 deletions .github/workflows/_codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.

name: CodeQL
permissions:
actions: read
contents: read
security-events: write

on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '00 12 * * 0' # every Sunday at 12:00 UTC

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
call-codeql:
name: CodeQL
uses: LizardByte/.github/.github/workflows/__call-codeql.yml@master
if: ${{ github.repository != 'LizardByte/.github' }}
27 changes: 27 additions & 0 deletions .github/workflows/_common-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.

name: common lint
permissions:
contents: read

on:
pull_request:
branches:
- master
types:
- opened
- synchronize
- reopened

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
lint:
name: Common Lint
uses: LizardByte/.github/.github/workflows/__call-common-lint.yml@master
if: ${{ github.repository != 'LizardByte/.github' }}
25 changes: 25 additions & 0 deletions .github/workflows/_release-notifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.

# Create a blog post for a new release and open a PR to the blog repo

name: Release Notifications
permissions:
contents: read

on:
release:
types:
- released # this triggers when a release is published, but does not include pre-releases or drafts

jobs:
update-blog:
name: Update blog
uses: LizardByte/.github/.github/workflows/__call-release-notifier.yml@master
if: github.repository_owner == 'LizardByte'
secrets:
GH_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
GH_NAME: ${{ secrets.GH_BOT_NAME }}
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/_update-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.

name: Update changelog
permissions:
contents: read

on:
release:
types:
- created
- edited
- deleted
workflow_dispatch:

concurrency:
group: "${{ github.workflow }}"
cancel-in-progress: true

jobs:
update-changelog:
name: Update Changelog
uses: LizardByte/.github/.github/workflows/__call-update-changelog.yml@master
if: >-
github.repository_owner == 'LizardByte' &&
(github.event_name == 'workflow_dispatch' ||
(!github.event.release.prerelease && !github.event.release.draft))
secrets:
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
34 changes: 34 additions & 0 deletions .github/workflows/_update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.

# To use, add the `rtd` repository label to identify repositories that should trigger this workflow.
# If the project slug is not the repository name, add a repository variable named `READTHEDOCS_SLUG` with the value of
# the ReadTheDocs project slug.

# Update readthedocs on release events.

name: Update docs
permissions: {}

on:
release:
types:
- created
- edited
- deleted

concurrency:
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}"
cancel-in-progress: true

jobs:
update-docs:
name: Update docs
uses: LizardByte/.github/.github/workflows/__call-update-docs.yml@master
if: github.repository_owner == 'LizardByte'
with:
readthedocs_slug: ${{ vars.READTHEDOCS_SLUG }}
secrets:
READTHEDOCS_TOKEN: ${{ secrets.READTHEDOCS_TOKEN }}
Loading