This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
Push to main #369
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Renovate changeset | |
on: | |
pull_request_target: | |
paths: | |
- '.github/workflows/sync_renovate-changesets.yml' | |
- 'bun.lockb' | |
jobs: | |
generate-changeset: | |
runs-on: ubuntu-latest | |
if: github.actor == 'renovate[bot]' && github.repository == 'ckt1031/nodejs-config' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
ref: ${{ github.head_ref }} | |
- name: Setup Environment | |
uses: ./.github/actions/setup | |
- name: Configure Git | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name 'Github changeset workflow' | |
- name: Generate changeset | |
run: bun scripts/sync-renovate-changesets.ts |