model-eol 0.4.0 → 0.4.1
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/README.md +1 -1
- package/bot.yml.example +17 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ The same gate as a composite action - no npm install, feeds bundled, pinned to
|
|
|
115
115
|
the `v0` line:
|
|
116
116
|
|
|
117
117
|
```yaml
|
|
118
|
-
- uses: actions/checkout@
|
|
118
|
+
- uses: actions/checkout@v7
|
|
119
119
|
with:
|
|
120
120
|
fetch-depth: 0 # --changed needs history to diff against the base ref
|
|
121
121
|
- uses: thossullivan/model-eol@v0
|
package/bot.yml.example
CHANGED
|
@@ -20,12 +20,13 @@ jobs:
|
|
|
20
20
|
permissions:
|
|
21
21
|
contents: read
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@v7
|
|
24
24
|
with:
|
|
25
25
|
persist-credentials: false
|
|
26
|
-
- uses: actions/setup-node@
|
|
26
|
+
- uses: actions/setup-node@v7
|
|
27
27
|
with:
|
|
28
|
-
node-version:
|
|
28
|
+
node-version: 22
|
|
29
|
+
package-manager-cache: false
|
|
29
30
|
- name: Build the versioned plan
|
|
30
31
|
run: |
|
|
31
32
|
mkdir -p "$RUNNER_TEMP/model-eol-plan"
|
|
@@ -39,7 +40,7 @@ jobs:
|
|
|
39
40
|
if [ ! -f .model-eol.json ]; then PLAN_ARGS+=(--days 90 --scope direct); fi
|
|
40
41
|
npx --yes --package="model-eol@$MODEL_EOL_VERSION" model-eol "${PLAN_ARGS[@]}" > "$RUNNER_TEMP/model-eol-plan/model-eol-plan.json"
|
|
41
42
|
- name: Upload plan
|
|
42
|
-
uses: actions/upload-artifact@
|
|
43
|
+
uses: actions/upload-artifact@v7
|
|
43
44
|
with:
|
|
44
45
|
name: model-eol-plan
|
|
45
46
|
path: |
|
|
@@ -56,14 +57,15 @@ jobs:
|
|
|
56
57
|
steps:
|
|
57
58
|
# Provider credentials exist only in this read-only job. The evaluator
|
|
58
59
|
# forwards only names explicitly allowed by eval.pass_env.
|
|
59
|
-
- uses: actions/checkout@
|
|
60
|
+
- uses: actions/checkout@v7
|
|
60
61
|
with:
|
|
61
62
|
persist-credentials: false
|
|
62
|
-
- uses: actions/setup-node@
|
|
63
|
+
- uses: actions/setup-node@v7
|
|
63
64
|
with:
|
|
64
|
-
node-version:
|
|
65
|
+
node-version: 22
|
|
66
|
+
package-manager-cache: false
|
|
65
67
|
- name: Download trusted plan
|
|
66
|
-
uses: actions/download-artifact@
|
|
68
|
+
uses: actions/download-artifact@v8
|
|
67
69
|
with:
|
|
68
70
|
name: model-eol-plan
|
|
69
71
|
path: ${{ runner.temp }}/model-eol-plan
|
|
@@ -88,7 +90,7 @@ jobs:
|
|
|
88
90
|
--plan-file "$RUNNER_TEMP/model-eol-plan/model-eol-plan.json" \
|
|
89
91
|
--output-file "$RUNNER_TEMP/model-eol-eval/model-eol-eval-results.json"
|
|
90
92
|
- name: Upload bounded eval results
|
|
91
|
-
uses: actions/upload-artifact@
|
|
93
|
+
uses: actions/upload-artifact@v7
|
|
92
94
|
with:
|
|
93
95
|
name: model-eol-eval-results
|
|
94
96
|
path: ${{ runner.temp }}/model-eol-eval/model-eol-eval-results.json
|
|
@@ -103,21 +105,22 @@ jobs:
|
|
|
103
105
|
pull-requests: write
|
|
104
106
|
issues: write
|
|
105
107
|
steps:
|
|
106
|
-
- uses: actions/checkout@
|
|
108
|
+
- uses: actions/checkout@v7
|
|
107
109
|
with:
|
|
108
110
|
# model-eol-bot authenticates its own temporary HTTPS clones and
|
|
109
111
|
# pushes with GITHUB_TOKEN; no checkout credential is persisted.
|
|
110
112
|
persist-credentials: false
|
|
111
|
-
- uses: actions/setup-node@
|
|
113
|
+
- uses: actions/setup-node@v7
|
|
112
114
|
with:
|
|
113
|
-
node-version:
|
|
115
|
+
node-version: 22
|
|
116
|
+
package-manager-cache: false
|
|
114
117
|
- name: Download trusted plan
|
|
115
|
-
uses: actions/download-artifact@
|
|
118
|
+
uses: actions/download-artifact@v8
|
|
116
119
|
with:
|
|
117
120
|
name: model-eol-plan
|
|
118
121
|
path: ${{ runner.temp }}/model-eol-plan
|
|
119
122
|
- name: Download eval results
|
|
120
|
-
uses: actions/download-artifact@
|
|
123
|
+
uses: actions/download-artifact@v8
|
|
121
124
|
with:
|
|
122
125
|
name: model-eol-eval-results
|
|
123
126
|
path: ${{ runner.temp }}/model-eol-eval
|