28 lines
879 B
YAML
28 lines
879 B
YAML
name: Sync Renovate changeset
|
|
on:
|
|
pull_request_target:
|
|
paths:
|
|
- ".github/workflows/sync_renovate-changesets.yml"
|
|
- "pnpm-lock.yaml"
|
|
|
|
jobs:
|
|
generate-changeset:
|
|
runs-on: ubuntu-latest
|
|
if: github.actor == 'renovate[bot]' && github.repository == 'bravo68web/nodejs-config'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 2
|
|
ref: ${{ github.head_ref }}
|
|
|
|
- name: Setup Environment
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config --global user.email '41448663+BRAVO68WEB@users.noreply.github.com'
|
|
git config --global user.name 'Github changeset workflow'
|
|
|
|
- name: Generate changeset
|
|
run: pnpm sync-renovate-changesets
|