-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (39 loc) · 991 Bytes
/
main.yml
File metadata and controls
41 lines (39 loc) · 991 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: CI - Main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5
with:
path: client-python
- name: Fetch schema
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: goauthentik/authentik
ref: main
path: authentik
sparse-checkout: |
schema.yml
sparse-checkout-cone-mode: false
- name: Generate API client
working-directory: client-python
run: |
cp ../authentik/schema.yml .
make build version=0.0.0
ci-main-mark:
if: always()
needs:
- generate
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
with:
jobs: ${{ toJSON(needs) }}