-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci:👷 add dependabot version updates (#373)
- Loading branch information
Showing
4 changed files
with
100 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: (deps) Update dependencies | ||
|
||
version: 2 | ||
updates: | ||
# Enable version updates at root | ||
- package-ecosystem: "npm" | ||
# Look for `package.json` and `lock` files in the `root` directory | ||
directory: "/" | ||
# Check the pnpm registry for updates every day (weekdays) | ||
schedule: | ||
interval: "daily" | ||
time: "03:00" | ||
timezone: "Europe/Berlin" | ||
labels: | ||
- "npm dependencies" | ||
- "root" | ||
reviewers: | ||
- "solid-design-system/development" | ||
# Set limit to 0 to disable Dependabot PRs entirely. | ||
open-pull-requests-limit: 3 | ||
|
||
# Enable version updates for Components package | ||
- package-ecosystem: "npm" | ||
directory: "/packages/components/" | ||
schedule: | ||
interval: "daily" | ||
time: "03:00" | ||
timezone: "Europe/Berlin" | ||
labels: | ||
- "npm dependencies" | ||
- "components" | ||
reviewers: | ||
- "solid-design-system/development" | ||
# Set limit to 0 to disable Dependabot PRs entirely. | ||
open-pull-requests-limit: 5 | ||
|
||
|
||
# Enable version updates for Placeholders package | ||
- package-ecosystem: "npm" | ||
directory: "/packages/placeholders/" | ||
schedule: | ||
interval: "daily" | ||
time: "03:00" | ||
timezone: "Europe/Berlin" | ||
labels: | ||
- "npm dependencies" | ||
- "placeholders" | ||
reviewers: | ||
- "solid-design-system/development" | ||
# Set limit to 0 to disable Dependabot PRs entirely. | ||
open-pull-requests-limit: 1 | ||
|
||
# Enable version updates for Tokens package | ||
- package-ecosystem: "npm" | ||
directory: "/packages/tokens/" | ||
schedule: | ||
interval: "daily" | ||
time: "03:00" | ||
timezone: "Europe/Berlin" | ||
labels: | ||
- "npm dependencies" | ||
- "tokens" | ||
reviewers: | ||
- "solid-design-system/development" | ||
# Set limit to 0 to disable Dependabot PRs entirely. | ||
open-pull-requests-limit: 1 |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: (deps) Automatic PR merge | ||
|
||
on: pull_request_target | ||
|
||
jobs: | ||
auto-merge: | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ahmadnassri/[email protected] | ||
with: | ||
target: patch | ||
github-token: ${{secrets.PAT_RELEASE_KARL}} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: (deps) Automatic PR approval | ||
|
||
on: [pull_request_target] | ||
jobs: | ||
automate-pullrequest-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Approve dependabot PR | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
uses: andrewmusgrave/[email protected] | ||
with: | ||
repo-token: ${{ secrets.PAT_RELEASE_KARL}} | ||
event: APPROVE | ||
body: 'Thank you dependabot 🎊' |
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