Skip to content

Commit

Permalink
Merge pull request #7 from lgc2333/master
Browse files Browse the repository at this point in the history
重构项目
  • Loading branch information
Ikaros-521 authored Aug 26, 2024
2 parents f41b8ea + c4630a6 commit 2ec75b4
Show file tree
Hide file tree
Showing 17 changed files with 1,228 additions and 805 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/Add.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "🗳️投稿"
name: '🗳️投稿'
description: 投稿发病语录
title: "[投稿] {简单描述}"
labels: ["enhancement"]
title: '[投稿] {简单描述}'
labels: ['enhancement']
body:
- type: textarea
id: texts
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: true
blank_issues_enabled: true
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/template-bug.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
name: 🐛 错误报告 | Bug Report
about: 请详细描述您使用过程中遇到的问题。| Please describe in detail the problems you encountered in the process of using.
title: "🐛 一些问题。。。 | [Bug] Some problem..."
labels: ["bug"]
title: '🐛 一些问题。。。 | [Bug] Some problem...'
labels: ['bug']
---

<!-- 请在您提交 bug 之前,回答以下这些问题。 | Please answer these questions before you submit a bug. -->

#### 您使用的版本? | Your usage version?

#### 您使用的python版本&系统环境? | Your usage python version & system?
#### 您使用的 python 版本&系统环境? | Your usage python version & system?

#### 您使用的场景? | Your usage scenarios?

Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/template-question.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: 🙋 问题交流 | Question Report
about: 在文档或讨论中没有回答的使用问题 | Usage question that isn't answered in docs or discussion
title: "🙋 问题交流。。。 | [Question] Some question..."
labels: ["question"]
title: '🙋 问题交流。。。 | [Question] Some question...'
labels: ['question']
---

## Question Report

- 搜索打开和关闭的 [GitHub 问题](https://github.com/eryajf/go-ldap-admin/issues)
- 搜索打开和关闭的 [GitHub 问题](https://github.com/Ikaros-521/nonebot_plugin_random_stereotypes/issues)

请在提交问题之前回答这些问题,谢谢。 | Please answer these questions before submitting them. Thank you.

### 你使用了哪个版本? | Which version did you use?

### 您使用的python版本&系统环境? | Your usage python version & system?
### 您使用的 python 版本&系统环境? | Your usage python version & system?

### 预期行为 | Expected behavior

Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish Python 🐍 distributions 📦 to PyPI

on:
release:
types: [published]
workflow_dispatch:

jobs:
build-n-publish:
name: Use PDM to Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest

permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

steps:
- name: Checkout
uses: actions/checkout@master
with:
submodules: true

- name: Setup PDM
uses: pdm-project/setup-pdm@v3

- name: Build and Publish distribution 📦 to PyPI
run: pdm publish
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 MeetWq
Copyright (c) 2022 Ikaros-521

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 2ec75b4

Please sign in to comment.