Merge remote-tracking branch 'origin/main' into fix/organize-pipeline-cleanup

This commit is contained in:
ShukeBta
2026-06-15 18:19:24 +08:00
2 changed files with 2 additions and 70 deletions
-70
View File
@@ -1,70 +0,0 @@
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '22 19 * * 1'
permissions:
contents: read
security-events: write
jobs:
analyze-scripted:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [actions, javascript-typescript]
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:${{ matrix.language }}
analyze-go:
name: Analyze Go (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
category: /language:go-linux-tests
- os: windows-latest
category: /language:go-windows-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: manual
config-file: ./.github/codeql/codeql-config.yml
- name: Compile packages and tests for extraction
shell: bash
run: go test -run '^$' ./...
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: ${{ matrix.category }}
+2
View File
@@ -224,6 +224,8 @@ func telegramPrivateBotCommandMenu() []telegramBotCommand {
{Command: "menu", Description: "打开功能菜单"},
{Command: "help", Description: "查看命令帮助"},
{Command: "account", Description: "查看账号状态"},
{Command: "myinfo", Description: "查看账号状态"},
{Command: "count", Description: "查看媒体库数量"},
{Command: "signin", Description: "签到"},
{Command: "devices", Description: "查看登录设备"},
{Command: "kick", Description: "踢下线设备"},