-
-
Notifications
You must be signed in to change notification settings - Fork 739
25 lines (22 loc) · 742 Bytes
/
relative-ci.yaml
File metadata and controls
25 lines (22 loc) · 742 Bytes
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
name: RelativeCI
on:
# zizmor: ignore[dangerous-triggers] -- workflow_run is the recommended pattern
# for RelativeCI; this workflow only downloads artifacts and reports bundle stats.
workflow_run:
workflows: ["build"]
types:
- completed
permissions:
actions: read
contents: read
jobs:
build:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- name: Send bundle stats and build information to RelativeCI (editor)
uses: relative-ci/agent-action@fcf45416581928e8dd62eded78ce98c78e5149f8 # v3.2.3
with:
artifactName: relative-ci-artifacts-editor
key: ${{ secrets.RELATIVE_CI_KEY }}
token: ${{ secrets.GITHUB_TOKEN }}