mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-02-06 14:42:40 +00:00
32 lines
707 B
YAML
32 lines
707 B
YAML
name: Renovatebot auto-merge
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
renovatebot:
|
|
runs-on: ubuntu-latest
|
|
if: github.actor == 'renovate[bot]'
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: latest
|
|
- uses: actions/setup-node@v5
|
|
with:
|
|
node-version: 22.x
|
|
cache: pnpm
|
|
- name: Build checking
|
|
run: |
|
|
pnpm install --frozen-lockfile
|
|
pnpm build
|
|
- name: Enable auto-merge for Renovate PRs
|
|
run: gh pr merge --auto --merge "$PR_URL"
|
|
env:
|
|
PR_URL: ${{ github.event.pull_request.html_url }}
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|