mirror of
https://github.com/Paillat-dev/pycord-reactive-views.git
synced 2026-01-02 01:06:18 +00:00
Initial commit
This commit is contained in:
22
.github/dependabot.yml
vendored
Normal file
22
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: pip
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
time: "13:00"
|
||||
open-pull-requests-limit: 10
|
||||
reviewers:
|
||||
- dciborow
|
||||
allow:
|
||||
- dependency-type: direct
|
||||
- dependency-type: indirect
|
||||
commit-message:
|
||||
prefix: "fix: "
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
time: "13:00"
|
||||
commit-message:
|
||||
prefix: "fix: "
|
||||
21
.github/template-sync.yml
vendored
Normal file
21
.github/template-sync.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
files:
|
||||
- ".gitignore" # include
|
||||
- ".github"
|
||||
- ".vscode"
|
||||
- "tests/conftest.py"
|
||||
- ".flake8"
|
||||
- ".pre-commit-config.yml"
|
||||
- ".pypirc"
|
||||
- "docs"
|
||||
- "src/README.md"
|
||||
- "CODE_OF_CONDUCT.md"
|
||||
- "LICENSE"
|
||||
- "README.md"
|
||||
- "SECURITY.md"
|
||||
- "SUPPORT.md"
|
||||
- "pyproject.toml"
|
||||
|
||||
- "!.github/workflows/template-sync.yml"
|
||||
- "!.github/template-sync.yml"
|
||||
- "!src/python_project"
|
||||
- "!tests/test_methods.py"
|
||||
21
.github/workflows/CI.yml
vendored
Normal file
21
.github/workflows/CI.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Python CI
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
release:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
uses: microsoft/action-python/.github/workflows/validation.yml@0.6.4
|
||||
with:
|
||||
workdir: '.'
|
||||
|
||||
publish:
|
||||
uses: microsoft/action-python/.github/workflows/publish.yml@0.6.4
|
||||
secrets:
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
|
||||
10
.github/workflows/publish.yml
vendored
Normal file
10
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
name: Python Publish Workflow
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
uses: microsoft/action-python/.github/workflows/publish.yml@0.6.4
|
||||
secrets:
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
|
||||
25
.github/workflows/schedule-update-actions.yml
vendored
Normal file
25
.github/workflows/schedule-update-actions.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: GitHub Actions Version Updater
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# Automatically run on every Sunday
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
# [Required] Access token with `workflow` scope.
|
||||
token: ${{ secrets.PAT }}
|
||||
|
||||
- name: Run GitHub Actions Version Updater
|
||||
uses: saadmk11/github-actions-version-updater@v0.7.4
|
||||
with:
|
||||
# [Required] Access token with `workflow` scope.
|
||||
token: ${{ secrets.PAT }}
|
||||
pull_request_title: "ci: Update GitHub Actions to Latest Version"
|
||||
17
.github/workflows/semantic-pr-check.yml
vendored
Normal file
17
.github/workflows/semantic-pr-check.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: "Semantic PR Check"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
main:
|
||||
name: Validate PR title
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: amannn/action-semantic-pull-request@v5.2.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
18
.github/workflows/sphinx.yml
vendored
Normal file
18
.github/workflows/sphinx.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Deploy Sphinx documentation to Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main] # branch to trigger deployment
|
||||
|
||||
jobs:
|
||||
pages:
|
||||
runs-on: ubuntu-20.04
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
permissions:
|
||||
pages: write
|
||||
id-token: write
|
||||
steps:
|
||||
- id: deployment
|
||||
uses: sphinx-notes/pages@v3
|
||||
12
.github/workflows/template-sync.yml
vendored
Normal file
12
.github/workflows/template-sync.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: Template Sync
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2 # important!
|
||||
- uses: euphoricsystems/action-sync-template-repository@v2.5.1
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
dry-run: true
|
||||
Reference in New Issue
Block a user