mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: RelativeCI
|
|
|
|
on:
|
|
# zizmor: ignore[dangerous-triggers] -- safe: only downloads artifacts, no PR code checkout
|
|
workflow_run:
|
|
workflows: [CI]
|
|
types:
|
|
- completed
|
|
|
|
permissions:
|
|
contents: read
|
|
actions: read
|
|
|
|
jobs:
|
|
upload-frontend-modern:
|
|
name: Upload stats (frontend/modern)
|
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send bundle stats and build information to RelativeCI
|
|
uses: relative-ci/agent-action@3c681926017930047fc03acaa35cd6a44efcbfc3 # v3.2.2
|
|
with:
|
|
key: ${{ secrets.RELATIVE_CI_KEY_frontend_modern }}
|
|
token: ${{ github.token }}
|
|
artifactName: frontend-bundle-stats
|
|
webpackStatsFile: frontend-modern.json
|
|
|
|
upload-frontend-legacy:
|
|
name: Upload stats (frontend/legacy)
|
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send bundle stats and build information to RelativeCI
|
|
uses: relative-ci/agent-action@3c681926017930047fc03acaa35cd6a44efcbfc3 # v3.2.2
|
|
with:
|
|
key: ${{ secrets.RELATIVE_CI_KEY_frontend_legacy }}
|
|
token: ${{ github.token }}
|
|
artifactName: frontend-bundle-stats
|
|
webpackStatsFile: frontend-legacy.json
|