-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: generate changesets for renovate
- Loading branch information
Showing
3 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,20 @@ | ||
name: Generate changeset for Renovate | ||
name: Add changeset to Renovate updates | ||
|
||
on: | ||
merge_group: | ||
pull_request_target: | ||
paths: | ||
- '.github/workflows/changesets-renovate.yml' | ||
- '**/pnpm-lock.yaml' | ||
- '**/package.json' | ||
types: [opened, synchronize, labeled] | ||
|
||
jobs: | ||
generate-changesets: | ||
name: Generate changesets | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
if: github.actor == 'renovate[bot]' | ||
if: contains(github.event.pull_request.labels.*.name, 'dependencies') | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Update Pull Request | ||
uses: mscharley/[email protected] | ||
with: | ||
fetch-depth: 2 | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Git Identity | ||
run: | | ||
git config --global user.name 'renovate[bot]' | ||
git config --global user.email '29139614+renovate[bot]@users.noreply.github.com' | ||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v4 | ||
|
||
- name: Run changesets-renovate | ||
run: pnpm dlx @scaleway/changesets-renovate | ||
token: ${{ secrets.DEPENDENCY_UPDATE_GITHUB_TOKEN }} | ||
use-conventional-commits: false | ||
author-name: github-actions[bot] | ||
author-email: 41898282+github-actions[bot]@users.noreply.github.com |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,6 @@ coverage | |
### Temporary ### | ||
old | ||
*.timestamp-* | ||
|
||
### Changesets ### | ||
.changeset/*.md |