Repository navigation
Expand file tree
/
Copy pathself-host-apps-refresh-technical.yml
More file actions
59 lines (54 loc) · 2.01 KB
/
Copy pathself-host-apps-refresh-technical.yml
File metadata and controls
59 lines (54 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Collect self-host app technical evidence
on:
workflow_dispatch:
inputs:
refresh_all:
description: "Check every published self-host app"
default: true
required: false
type: boolean
schedule:
- cron: "23 5 * * 1"
permissions:
contents: read
concurrency:
group: self-host-apps-refresh-technical
cancel-in-progress: false
jobs:
refresh:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
DATABASE_URL: ${{ secrets.DATABASE_POOLER_URL }}
GITHUB_TOKEN: ${{ secrets.STACK127_GITHUB_TOKEN || github.token }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- name: Collect primary technical evidence
run: >-
npm run self-host-apps:refresh-primary-technical-facts --
${{ (github.event_name == 'schedule' || inputs.refresh_all == true) && '--refresh-all' || '' }}
--concurrency 16
--max-failure-percent 5
--out scripts/self-host-apps/batches/${{ github.run_id }}-technical-refresh.json
- name: Inspect install destinations
# Keep dry-run: the builder infers registry links/support levels and replaces
# stored options; these changes require review before applying.
if: always()
run: npm run self-host-apps:refresh-install-options -- --limit 5000
- name: Run publication quality gate
if: always()
run: npm run self-host-apps:qa-gate -- --limit 5000 --out scripts/self-host-apps/batches/${{ github.run_id }}-technical-qa-gate.json
- name: Upload technical reports
if: always()
uses: actions/upload-artifact@v4
with:
name: self-host-app-technical-refresh-${{ github.run_id }}
path: |
scripts/self-host-apps/batches/${{ github.run_id }}-technical-refresh.json
scripts/self-host-apps/batches/${{ github.run_id }}-technical-qa-gate.json
if-no-files-found: ignore