ghcr-manager 0.9.4 → 0.9.5

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.5] - 2026-05-21
11
+
12
+ ### Changed
13
+
14
+ - Renamed `upload-db-artifact` to `upload-artifacts`.
15
+ - Raised cleanup summary defaults to 100 matched tags and 100 roots per section.
16
+
10
17
  ## [0.9.4] - 2026-05-21
11
18
 
12
19
  ### Changed
package/README.md CHANGED
@@ -33,7 +33,7 @@ jobs:
33
33
 
34
34
  - name: Preview GHCR cleanup
35
35
  id: ghcr-manager
36
- uses: gh-workflow/ghcr-manager@0.9.4
36
+ uses: gh-workflow/ghcr-manager@0.9.5
37
37
  with:
38
38
  command: cleanup
39
39
  token: ${{ github.token }}
@@ -44,7 +44,7 @@ jobs:
44
44
  keep-n-tagged: "10"
45
45
  exclude-tags: |
46
46
  latest
47
- upload-db-artifact: true
47
+ upload-artifacts: true
48
48
  ```
49
49
 
50
50
  After the run:
@@ -72,7 +72,7 @@ The action supports three commands:
72
72
  ### Preview cleanup
73
73
 
74
74
  ```yaml
75
- - uses: gh-workflow/ghcr-manager@0.9.4
75
+ - uses: gh-workflow/ghcr-manager@0.9.5
76
76
  with:
77
77
  command: cleanup
78
78
  token: ${{ github.token }}
@@ -87,13 +87,13 @@ The action supports three commands:
87
87
  exclude-tags: |
88
88
  latest
89
89
  stable
90
- upload-db-artifact: true
90
+ upload-artifacts: true
91
91
  ```
92
92
 
93
93
  ### Apply cleanup
94
94
 
95
95
  ```yaml
96
- - uses: gh-workflow/ghcr-manager@0.9.4
96
+ - uses: gh-workflow/ghcr-manager@0.9.5
97
97
  with:
98
98
  command: cleanup
99
99
  token: ${{ github.token }}
@@ -101,7 +101,7 @@ The action supports three commands:
101
101
  package: PACKAGE
102
102
  delete-untagged: true
103
103
  keep-n-tagged: "10"
104
- upload-db-artifact: true
104
+ upload-artifacts: true
105
105
  scan-after-cleanup: true
106
106
  ```
107
107
 
@@ -112,7 +112,7 @@ Note: the second scan only runs if cleanup actually makes changes.
112
112
  ### Remove selected tags directly
113
113
 
114
114
  ```yaml
115
- - uses: gh-workflow/ghcr-manager@0.9.4
115
+ - uses: gh-workflow/ghcr-manager@0.9.5
116
116
  with:
117
117
  command: untag
118
118
  token: ${{ github.token }}
@@ -128,7 +128,7 @@ Note: the second scan only runs if cleanup actually makes changes.
128
128
  ### Scan one package
129
129
 
130
130
  ```yaml
131
- - uses: gh-workflow/ghcr-manager@0.9.4
131
+ - uses: gh-workflow/ghcr-manager@0.9.5
132
132
  with:
133
133
  command: scan
134
134
  token: ${{ github.token }}
@@ -149,7 +149,7 @@ Note: the second scan only runs if cleanup actually makes changes.
149
149
  | `owner` | Package owner | all | Yes | |
150
150
  | `package` | Package name | all | Yes | |
151
151
  | `db-path` | Local SQLite DB path | s,c | No | |
152
- | `upload-db-artifact` | Upload DB and summary artifact | s,c | No | `false` |
152
+ | `upload-artifacts` | Upload DB and summary artifacts | s,c | No | `false` |
153
153
  | `scan-after-cleanup` | Run a second scan after cleanup | c | No | `false` |
154
154
  | `db-artifact-retention-days` | Override artifact retention days | s,c | No | `${{ github.retention_days }}` |
155
155
  | `delete-tags` | Newline-separated tags to delete | c,u | for `untag` | |
@@ -1,5 +1,5 @@
1
- const _DEFAULT_MAX_DIRECT_TARGET_TAGS = 20;
2
- const _DEFAULT_MAX_ROOTS_PER_SECTION = 20;
1
+ const _DEFAULT_MAX_DIRECT_TARGET_TAGS = 100;
2
+ const _DEFAULT_MAX_ROOTS_PER_SECTION = 100;
3
3
  const _DEFAULT_MAX_TAGS_PER_ROOT = 4;
4
4
  export function renderCleanupSummaryMarkdown(summary, options) {
5
5
  const maxDirectTargetTags = options.maxDirectTargetTags ?? _DEFAULT_MAX_DIRECT_TARGET_TAGS;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "type": "git",
10
10
  "url": "https://github.com/gh-workflow/ghcr-manager"
11
11
  },
12
- "version": "0.9.4",
12
+ "version": "0.9.5",
13
13
  "type": "module",
14
14
  "engines": {
15
15
  "node": ">=20.0.0"