Skip to content

Commit 035301b

Browse files
committed
ci: add changesets workflow for renovate PRs (#86)
1 parent 13c0bd6 commit 035301b

File tree

1 file changed

+30
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)