mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-12-24 11:25:52 +08:00
use bot token
Some checks are pending
Build / windows (arm64) (push) Waiting to run
Build / windows (ia32) (push) Waiting to run
Build / windows (x64) (push) Waiting to run
Build / windows7 (ia32) (push) Waiting to run
Build / windows7 (x64) (push) Waiting to run
Build / linux (arm64) (push) Waiting to run
Build / linux (x64) (push) Waiting to run
Build / macos (arm64) (push) Waiting to run
Build / macos (x64) (push) Waiting to run
Build / macos10 (arm64) (push) Waiting to run
Build / macos10 (x64) (push) Waiting to run
Build / artifact-windows (push) Blocked by required conditions
Build / artifact-windows7 (push) Blocked by required conditions
Build / artifact-macos (push) Blocked by required conditions
Build / artifact-macos10 (push) Blocked by required conditions
Build / artifact-linux (push) Blocked by required conditions
Build / updater (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-bin) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron-bin) (push) Blocked by required conditions
Build / aur-git-updater (push) Waiting to run
Build / Update WinGet Package (push) Blocked by required conditions
Build / Update Homebrew cask (push) Blocked by required conditions
Some checks are pending
Build / windows (arm64) (push) Waiting to run
Build / windows (ia32) (push) Waiting to run
Build / windows (x64) (push) Waiting to run
Build / windows7 (ia32) (push) Waiting to run
Build / windows7 (x64) (push) Waiting to run
Build / linux (arm64) (push) Waiting to run
Build / linux (x64) (push) Waiting to run
Build / macos (arm64) (push) Waiting to run
Build / macos (x64) (push) Waiting to run
Build / macos10 (arm64) (push) Waiting to run
Build / macos10 (x64) (push) Waiting to run
Build / artifact-windows (push) Blocked by required conditions
Build / artifact-windows7 (push) Blocked by required conditions
Build / artifact-macos (push) Blocked by required conditions
Build / artifact-macos10 (push) Blocked by required conditions
Build / artifact-linux (push) Blocked by required conditions
Build / updater (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-bin) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron-bin) (push) Blocked by required conditions
Build / aur-git-updater (push) Waiting to run
Build / Update WinGet Package (push) Blocked by required conditions
Build / Update Homebrew cask (push) Blocked by required conditions
This commit is contained in:
parent
acde7a55c4
commit
975c8db829
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -536,6 +536,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Get Tag Name
|
- name: Get Tag Name
|
||||||
run: echo "VERSION=$(echo ${{ github.ref }} | tr -d 'refs/tags/v')" >> $GITHUB_ENV
|
run: echo "VERSION=$(echo ${{ github.ref }} | tr -d 'refs/tags/v')" >> $GITHUB_ENV
|
||||||
|
- uses: tibdex/github-app-token@v2
|
||||||
|
id: generate-token
|
||||||
|
with:
|
||||||
|
app_id: ${{ secrets.BOT_APP_ID }}
|
||||||
|
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
|
||||||
- name: Submit to Winget
|
- name: Submit to Winget
|
||||||
uses: vedantmgoyal9/winget-releaser@main
|
uses: vedantmgoyal9/winget-releaser@main
|
||||||
with:
|
with:
|
||||||
|
@ -543,7 +548,7 @@ jobs:
|
||||||
version: ${{env.VERSION}}
|
version: ${{env.VERSION}}
|
||||||
release-tag: v${{env.VERSION}}
|
release-tag: v${{env.VERSION}}
|
||||||
installers-regex: 'mihomo-party-windows-.*setup\.exe$'
|
installers-regex: 'mihomo-party-windows-.*setup\.exe$'
|
||||||
token: ${{ secrets.POMPURIN404_TOKEN }}
|
token: ${{ steps.generate-token.outputs.token }}
|
||||||
|
|
||||||
homebrew:
|
homebrew:
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
@ -553,11 +558,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email pompurin404@mihomo.party
|
git config --global user.email mihomo-party-bot[bot]@users.noreply.github.com
|
||||||
git config --global user.name pompurin404
|
git config --global user.name mihomo-party-bot[bot]
|
||||||
|
- uses: tibdex/github-app-token@v2
|
||||||
|
id: generate-token
|
||||||
|
with:
|
||||||
|
app_id: ${{ secrets.BOT_APP_ID }}
|
||||||
|
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
|
||||||
- name: Update Homebrew cask
|
- name: Update Homebrew cask
|
||||||
env:
|
env:
|
||||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.POMPURIN404_TOKEN }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
run: |
|
run: |
|
||||||
brew tap mihomo-party-org/mihomo-party
|
brew tap mihomo-party-org/mihomo-party
|
||||||
brew update
|
brew update
|
||||||
|
|
7
.github/workflows/issues.yml
vendored
7
.github/workflows/issues.yml
vendored
|
@ -9,11 +9,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Auto Close Issue
|
- name: Auto Close Issue
|
||||||
uses: mihomo-party-org/auto-close-isssues@main
|
uses: mihomo-party-org/auto-close-issue@main
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.OPENAI_BASE_URL }}
|
url: ${{ secrets.OPENAI_BASE_URL }}
|
||||||
key: ${{ secrets.OPENAI_API_KEY }}
|
key: ${{ secrets.OPENAI_API_KEY }}
|
||||||
prompt: ${{ vars.OPENAI_SYSTEM_PROMPT }}
|
prompt: ${{ vars.OPENAI_SYSTEM_PROMPT }}
|
||||||
app-id: ${{ secrets.BOT_APP_ID }}
|
app_id: ${{ secrets.BOT_APP_ID }}
|
||||||
installation-id: ${{ secrets.BOT_INSTALLATION_ID }}
|
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
|
||||||
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user