pr-prism 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ directory: "/"
5
+ target-branch: "main"
6
+ schedule:
7
+ interval: "weekly"
8
+ day: "monday"
9
+ time: "09:00"
10
+ timezone: "Etc/UTC"
11
+ open-pull-requests-limit: 10
12
+ groups:
13
+ all-dependencies:
14
+ update-types:
15
+ - "minor"
16
+ - "patch"
17
+
18
+ - package-ecosystem: "github-actions"
19
+ directory: "/"
20
+ target-branch: "main"
21
+ schedule:
22
+ interval: "weekly"
23
+ day: "monday"
24
+ time: "09:00"
25
+ timezone: "Etc/UTC"
26
+ open-pull-requests-limit: 5
@@ -8,6 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  typecheck:
11
+ if: github.actor != 'dependabot[bot]'
11
12
  name: Type Check
12
13
  runs-on: ubuntu-latest
13
14
  steps:
@@ -10,7 +10,7 @@ permissions:
10
10
 
11
11
  jobs:
12
12
  auto-merge:
13
- if: github.event.pull_request.user.login == 'dependabot[bot]'
13
+ if: github.actor == 'dependabot[bot]'
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
@@ -20,19 +20,13 @@ jobs:
20
20
  with:
21
21
  github-token: ${{ secrets.GITHUB_TOKEN }}
22
22
 
23
- - name: Auto-approve minor and patch updates
24
- if: >
25
- steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
26
- steps.metadata.outputs.update-type == 'version-update:semver-patch'
23
+ - name: Auto-approve
27
24
  env:
28
25
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
26
  PR_URL: ${{ github.event.pull_request.html_url }}
30
- run: gh pr review "$PR_URL" --approve
27
+ run: 'gh pr review "$PR_URL" --approve --body "Auto-approved: Dependabot ${{ steps.metadata.outputs.update-type }} update"'
31
28
 
32
- - name: Auto-merge minor and patch updates
33
- if: >
34
- steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
35
- steps.metadata.outputs.update-type == 'version-update:semver-patch'
29
+ - name: Auto-merge
36
30
  env:
37
31
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
32
  PR_URL: ${{ github.event.pull_request.html_url }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pr-prism",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Stateful GitHub PR review scraper for AI agents — filter noise, cache seen comments, deliver signal",
5
5
  "type": "module",
6
6
  "bin": {