-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (62 loc) · 1.72 KB
/
ci.yml
File metadata and controls
76 lines (62 loc) · 1.72 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
repo-consistency:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Install runner dependencies
run: |
sudo apt-get update
sudo apt-get install -y rsync ripgrep
- name: Run repository consistency checks
run: bash ./scripts/check-repo-consistency.sh
agent-audit:
runs-on: ubuntu-latest
needs: repo-consistency
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Install runner dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-yaml ripgrep
- name: Run shared-agent audit
run: bash ./scripts/audit-codex-agents.sh
release-bundle-dry-run:
runs-on: ubuntu-latest
needs:
- repo-consistency
- agent-audit
timeout-minutes: 15
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Install runner dependencies
run: |
sudo apt-get update
sudo apt-get install -y rsync ripgrep
- name: Build release bundle
run: bash ./scripts/build-release-bundle.sh --output-dir dist --version "ci-${GITHUB_RUN_NUMBER}"
- name: Upload dry-run release bundle
uses: actions/upload-artifact@v7
with:
name: codex-cli-bootstrap-ci-bundle
path: dist/
if-no-files-found: error