mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-03 18:46:45 +00:00
Some checks failed
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.10) (push) Failing after 3s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.12) (push) Failing after 4s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.9) (push) Failing after 4s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.11) (push) Failing after 5s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.12) (push) Failing after 6s
Pyright Lint / Pyright Lint (pydantic-v1) (push) Failing after 7s
Pyright Lint / Pyright Lint (pydantic-v2) (push) Failing after 8s
Site Deploy / publish (push) Failing after 8s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.10) (push) Failing after 1m56s
Code Coverage / Test Coverage (pydantic-v1, ubuntu-latest, 3.11) (push) Failing after 2m2s
Code Coverage / Test Coverage (pydantic-v2, ubuntu-latest, 3.9) (push) Failing after 2m3s
Ruff Lint / Ruff Lint (push) Failing after 2m4s
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.9) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, macos-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v1, windows-latest, 3.9) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, macos-latest, 3.9) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.10) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.11) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.12) (push) Has been cancelled
Code Coverage / Test Coverage (pydantic-v2, windows-latest, 3.9) (push) Has been cancelled
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
74 lines
2.1 KiB
YAML
74 lines
2.1 KiB
YAML
name: NoneFlow
|
|
|
|
on:
|
|
issues:
|
|
types: [opened, reopened, edited]
|
|
issue_comment:
|
|
types: [created]
|
|
pull_request_target:
|
|
types: [closed]
|
|
pull_request_review:
|
|
types: [submitted]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.issue.number && format('publish/issue{0}', github.event.issue.number) || github.head_ref || github.run_id }}
|
|
cancel-in-progress: ${{ startsWith(github.head_ref, 'publish/issue')}}
|
|
|
|
jobs:
|
|
noneflow:
|
|
runs-on: ubuntu-latest
|
|
name: noneflow
|
|
# do not run on forked PRs, do not run on not related issues, do not run on pr comments
|
|
if: |
|
|
!(
|
|
(
|
|
github.event.pull_request &&
|
|
(
|
|
github.event.pull_request.head.repo.fork ||
|
|
!(
|
|
contains(github.event.pull_request.labels.*.name, 'Plugin') ||
|
|
contains(github.event.pull_request.labels.*.name, 'Adapter') ||
|
|
contains(github.event.pull_request.labels.*.name, 'Bot')
|
|
)
|
|
)
|
|
) ||
|
|
(
|
|
github.event_name == 'issue_comment' && github.event.issue.pull_request
|
|
)
|
|
)
|
|
steps:
|
|
- name: Generate token
|
|
id: generate-token
|
|
uses: tibdex/github-app-token@v2
|
|
with:
|
|
app_id: ${{ secrets.APP_ID }}
|
|
private_key: ${{ secrets.APP_KEY }}
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v5
|
|
with:
|
|
token: ${{ steps.generate-token.outputs.token }}
|
|
|
|
- name: NoneFlow
|
|
uses: docker://ghcr.io/nonebot/noneflow:latest
|
|
with:
|
|
config: >
|
|
{
|
|
"base": "master",
|
|
"plugin_path": "assets/plugins.json5",
|
|
"bot_path": "assets/bots.json5",
|
|
"adapter_path": "assets/adapters.json5",
|
|
"registry_repository": "nonebot/registry",
|
|
"artifact_path": "artifact"
|
|
}
|
|
env:
|
|
APP_ID: ${{ secrets.APP_ID }}
|
|
PRIVATE_KEY: ${{ secrets.APP_KEY }}
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: noneflow
|
|
path: artifact/*
|
|
if-no-files-found: ignore
|