Skip to content

shenxianpeng/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my account wide settings

Central configuration repository for @shenxianpeng's GitHub account. Contains reusable workflows, default community health files, and shared configuration that applies across repositories.

Reusable Workflows

All workflows under .github/workflows/ are published as reusable workflows (on: workflow_call) and can be called from any repository.

Run pre-commit hooks across all files.

jobs:
  pre-commit:
    uses: shenxianpeng/.github/.github/workflows/pre-commit.yml@main
    with:
      commands: ""   # optional: extra setup commands to run before pre-commit

Run CodeQL static analysis.

jobs:
  codeql:
    uses: shenxianpeng/.github/.github/workflows/codeql.yml@main
    with:
      language: python   # default: python — also supports c-cpp, csharp, go, java-kotlin, javascript-typescript, ruby, swift

Draft the next release notes as pull requests are merged.

jobs:
  release-drafter:
    uses: shenxianpeng/.github/.github/workflows/release-drafter.yml@main

Automatically label pull requests based on branch name and title.

jobs:
  label:
    uses: shenxianpeng/.github/.github/workflows/pr-labeler.yml@main

Close stale issues and pull requests automatically.

jobs:
  stale:
    uses: shenxianpeng/.github/.github/workflows/stale.yml@main

Build and deploy MkDocs documentation to GitHub Pages.

jobs:
  docs:
    uses: shenxianpeng/.github/.github/workflows/mkdocs.yml@main

Build and deploy Sphinx documentation to GitHub Pages.

jobs:
  docs:
    uses: shenxianpeng/.github/.github/workflows/sphinx.yml@main
    with:
      path-to-doc: docs/_build/html   # default: docs/_build/html

Build and publish a Python package to PyPI / TestPyPI.

jobs:
  publish:
    uses: shenxianpeng/.github/.github/workflows/py-publish.yml@main
    secrets:
      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
      TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}

Scan a Docker image for vulnerabilities with Snyk.

jobs:
  snyk:
    uses: shenxianpeng/.github/.github/workflows/snyk-container.yml@main
    with:
      image: myorg/myimage:latest
      dockerfile: Dockerfile          # default: Dockerfile
      severity-threshold: high        # default: high
    secrets:
      SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

Community Health Files

The following default community health files apply to all repositories in the account that do not have their own:

File Description
.github/ISSUE_TEMPLATE/bug_report.yml Bug report issue form
.github/ISSUE_TEMPLATE/feature_request.yml Feature request issue form
.github/PULL_REQUEST_TEMPLATE.md Pull request template
CONTRIBUTING.md Contribution guidelines
SECURITY.md Security policy and vulnerability reporting

Other Configuration

File Description
.github/FUNDING.yml GitHub Sponsors / funding links
.github/dependabot.yml Dependabot version update schedule
.github/release-drafter.yml Release Drafter label categories and template
.github/stale.yml Stale bot configuration (legacy probot)
.pre-commit-config.yaml Pre-commit hooks for this repository

About

my account wide settings

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors