chore(ci): open and auto-merge PR when updating hashes (#1907)

This commit is contained in:
Weathercold
2026-06-01 23:17:09 +08:00
committed by GitHub
parent f728f4d639
commit 052dc03ad2
3 changed files with 105 additions and 12 deletions
+15
View File
@@ -10,12 +10,20 @@ on:
workflow_dispatch:
workflow_call:
inputs:
ref:
required: true
type: string
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref || github.ref }}
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6
with:
@@ -65,6 +73,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref || github.ref }}
# Turborepo
- name: Cache turbo build setup
@@ -114,6 +124,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref || github.ref }}
# Turborepo
- name: Cache turbo build setup
@@ -159,6 +171,8 @@ jobs:
if: ${{ !(github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.label, 'moeru-ai:i18n/')) }}
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref || github.ref }}
# Node.js
- uses: pnpm/action-setup@v5
@@ -176,6 +190,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref || github.ref }}
fetch-depth: 0
- uses: danielroe/provenance-action@main
id: check