diff --git a/.github/ISSUE_TEMPLATE/bug-report---bug---.md b/.github/ISSUE_TEMPLATE/bug-report---bug---.md deleted file mode 100644 index c0079a474..000000000 --- a/.github/ISSUE_TEMPLATE/bug-report---bug---.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: Bug report / Bug 反馈 -about: Create a report to help us improve -title: "[BUG]" -labels: bug -assignees: '' - ---- - -**Describe the bug / 描述** -A clear and concise description of what the bug is. / 请简要描述出现的 bug - -**To Reproduce / 复现过程** - -**Expected behavior / 预期的结果** - -**Screenshots / 截图** -If applicable, add screenshots to help explain your problem. / 如果可能的话,请附上相关截图 - -**System information / 系统信息** - - OS: [e.g. Arch Linux] - - Version [e.g. 2.1.4] - -**Additional context / 附加信息** -Add any other context about the problem here. / 如果有什么额外信息,可以写在这里 diff --git a/.github/ISSUE_TEMPLATE/feature-request--------.md b/.github/ISSUE_TEMPLATE/feature-request--------.md deleted file mode 100644 index 6257dd456..000000000 --- a/.github/ISSUE_TEMPLATE/feature-request--------.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request / 新功能请求 -about: Suggest an idea for this project -title: "[Feature Request]" -labels: enhancement -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/config.yml b/.github/config.yml deleted file mode 100644 index ed96a381a..000000000 --- a/.github/config.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Configuration for welcome - https://github.com/behaviorbot/welcome - -# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome - -# Comment to be posted to on first time issues -newIssueWelcomeComment: > - Thanks for opening your first issue here! Be sure to follow the issue template! - -# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome - -# Comment to be posted to on PRs from first time contributors in your repository -newPRWelcomeComment: > - Thanks for opening this pull request! Please check out our contributing guidelines. - -# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge - -# Comment to be posted to on pull requests merged by a first time user -firstPRMergeComment: > - Congrats on merging your first pull request! 🎉🎉🎉 - -# It is recommended to include as many gifs and emojis as possible! \ No newline at end of file diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 1bc58283c..000000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Docker Build - -on: - push: - branches: - - develop - tags: - - 'v*' - workflow_dispatch: - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Docker meta - id: meta - uses: docker/metadata-action@v4 - with: - # list of Docker images to use as base name for tags - images: | - icalinguaplusplus/icalingua-bridge-oicq - # generate Docker tags based on the following events/attributes - tags: | - type=ref,event=branch - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} - type=sha - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and export to Docker - uses: docker/build-push-action@v3 - with: - context: . - load: true - tags: ${{ steps.meta.outputs.tags }},icalinguaplusplus/icalingua-bridge-oicq:latest - labels: ${{ steps.meta.outputs.labels }} - - name: Build and push - id: docker_build - uses: docker/build-push-action@v3 - with: - context: . - push: ${{ startsWith(github.ref, 'refs/tags/v') }} - tags: ${{ steps.meta.outputs.tags }},icalinguaplusplus/icalingua-bridge-oicq:latest - labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/issue_bot.yml b/.github/workflows/issue_bot.yml deleted file mode 100644 index 892855abf..000000000 --- a/.github/workflows/issue_bot.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Issue Bot - -on: - issues: - types: [labeled] - -jobs: - duplicate: - runs-on: ubuntu-latest - if: github.event.label.name == 'duplicate' - steps: - - name: Create comment - uses: actions-cool/issues-helper@v2 - with: - actions: 'create-comment' - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ github.event.issue.number }} - body: | - Hello @${{ github.event.issue.user.login }}, your issue is a duplicate and will be closed. - - name: Close issue - uses: actions-cool/issues-helper@v2 - with: - actions: 'close-issue' - token: ${{ secrets.GITHUB_TOKEN }} - wontfix: - runs-on: ubuntu-latest - if: github.event.label.name == 'wontfix' - steps: - - name: Create comment - uses: actions-cool/issues-helper@v2 - with: - actions: 'create-comment' - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ github.event.issue.number }} - body: | - Hello @${{ github.event.issue.user.login }}, this issue will not be worked on and will be closed. - - name: Close issue - uses: actions-cool/issues-helper@v2 - with: - actions: 'close-issue' - token: ${{ secrets.GITHUB_TOKEN }} - question: - runs-on: ubuntu-latest - if: github.event.label.name == 'question' - steps: - - name: Create comment - uses: actions-cool/issues-helper@v2.0.0 - with: - actions: 'create-comment' - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ github.event.issue.number }} - body: | - Hello @${{ github.event.issue.user.login }}, please input issue by template and add detail such as logs, reproduction steps and implementation ideas, etc. \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 883fee60c..d6cdcf842 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -314,8 +314,7 @@ jobs: path: ${{ steps.pkgname.outputs.pkgname }} if-no-files-found: error - - name: 同步 docker 内外目录 - # $PWD 在 docker 中被映射到 /github/workspace + - name: sync docker dir run: | sudo mkdir /github sudo ln -s $PWD /github/workspace @@ -361,8 +360,7 @@ jobs: path: ${{ steps.pkgname.outputs.pkgname }} if-no-files-found: error - - name: 同步 docker 内外目录 - # $PWD 在 docker 中被映射到 /github/workspace + - name: sync docker dir run: | sudo mkdir /github sudo ln -s $PWD /github/workspace @@ -408,8 +406,7 @@ jobs: path: ${{ steps.pkgname.outputs.pkgname }} if-no-files-found: error - - name: 同步 docker 内外目录 - # $PWD 在 docker 中被映射到 /github/workspace + - name: sync docker dir run: | sudo mkdir /github sudo ln -s $PWD /github/workspace