Skip to content

Commit e5ed301

Browse files
authored
ci: add changesets workflow for renovate PRs (#86)
1 parent 13c0bd6 commit e5ed301

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Generate changeset for Renovate
2+
3+
on:
4+
merge_group:
5+
pull_request_target:
6+
7+
jobs:
8+
generate-changeset:
9+
runs-on: ubuntu-latest
10+
if: github.actor == 'renovate[bot]'
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 2
16+
ref: ${{ github.head_ref }}
17+
18+
- name: Git Identity
19+
run: |
20+
git config --global user.name "github-actions[bot]"
21+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
22+
23+
- uses: pnpm/action-setup@v4.1.0
24+
25+
- name: Run changesets-renovate
26+
run: pnpm dlx @scaleway/changesets-renovate

0 commit comments

Comments
 (0)