File tree 6 files changed +15
-57
lines changed
6 files changed +15
-57
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
updates :
3
3
# GitHub Actions
4
- - package-ecosystem : " github-actions"
5
- directory : " / "
4
+ - package-ecosystem : github-actions
5
+ directory : /
6
6
schedule :
7
- interval : " daily"
7
+ interval : daily
8
8
commit-message :
9
9
prefix : ⬆
10
10
# Python
11
- - package-ecosystem : " pip"
12
- directory : " / "
11
+ - package-ecosystem : pip
12
+ directory : /
13
13
schedule :
14
- interval : " daily"
14
+ interval : daily
15
15
commit-message :
16
16
prefix : ⬆
Original file line number Diff line number Diff line change 21
21
node-version : lts/*
22
22
- uses : actions/setup-python@v5
23
23
with :
24
- python-version : ' 3.10'
24
+ python-version : " 3.10"
25
25
- name : Install uv
26
26
uses : astral-sh/setup-uv@v2
27
27
with :
41
41
git add frontend/src/client
42
42
git diff --staged --quiet || git commit -m "✨ Autogenerate frontend client"
43
43
git push
44
-
45
- # https://github.com/marketplace/actions/alls-green#why
46
- generate-client-alls-green : # This job does nothing and is only used for the branch protection
47
- if : always()
48
- needs :
49
- - generate-client
50
- runs-on : ubuntu-latest
51
- steps :
52
- - name : Decide whether the needed jobs succeeded or failed
53
- uses : re-actors/alls-green@release/v1
54
- with :
55
- jobs : ${{ toJSON(needs) }}
Original file line number Diff line number Diff line change 12
12
description : PR number
13
13
required : true
14
14
debug_enabled :
15
- description : ' Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
15
+ description : " Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
16
16
required : false
17
- default : ' false'
17
+ default : " false"
18
18
19
19
jobs :
20
20
latest-changes :
34
34
with :
35
35
token : ${{ secrets.GITHUB_TOKEN }}
36
36
latest_changes_file : ./release-notes.md
37
- latest_changes_header : ' ## Latest Changes'
38
- end_regex : ' ^## '
37
+ latest_changes_header : " ## Latest Changes"
38
+ end_regex : " ^## "
39
39
debug_logs : true
40
- label_header_prefix : ' ### '
40
+ label_header_prefix : " ### "
Original file line number Diff line number Diff line change 10
10
- synchronize
11
11
12
12
jobs :
13
-
14
13
lint-backend :
15
14
runs-on : ubuntu-latest
16
15
steps :
@@ -19,22 +18,10 @@ jobs:
19
18
- name : Set up Python
20
19
uses : actions/setup-python@v5
21
20
with :
22
- python-version : ' 3.10'
21
+ python-version : " 3.10"
23
22
- name : Install uv
24
23
uses : astral-sh/setup-uv@v2
25
24
with :
26
25
version : " 0.4.15"
27
26
- run : uv run bash scripts/lint.sh
28
27
working-directory : backend
29
-
30
- # https://github.com/marketplace/actions/alls-green#why
31
- lint-backend-alls-green : # This job does nothing and is only used for the branch protection
32
- if : always()
33
- needs :
34
- - lint-backend
35
- runs-on : ubuntu-latest
36
- steps :
37
- - name : Decide whether the needed jobs succeeded or failed
38
- uses : re-actors/alls-green@release/v1
39
- with :
40
- jobs : ${{ toJSON(needs) }}
Original file line number Diff line number Diff line change @@ -16,17 +16,14 @@ jobs:
16
16
steps :
17
17
- uses : actions/setup-python@v5
18
18
with :
19
- python-version : ' 3.9'
20
-
19
+ python-version : " 3.10"
21
20
- run : pip install smokeshow
22
-
23
21
- uses : actions/download-artifact@v4
24
22
with :
25
23
name : coverage-html
26
24
path : backend/htmlcov
27
25
github-token : ${{ secrets.GITHUB_TOKEN }}
28
26
run-id : ${{ github.event.workflow_run.id }}
29
-
30
27
- run : smokeshow upload backend/htmlcov
31
28
env :
32
29
SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage}
Original file line number Diff line number Diff line change 10
10
- synchronize
11
11
12
12
jobs :
13
-
14
13
test-backend :
15
14
runs-on : ubuntu-latest
16
15
steps :
17
16
- name : Checkout
18
17
uses : actions/checkout@v4
19
-
20
18
- name : Set up Python
21
19
uses : actions/setup-python@v5
22
20
with :
23
- python-version : ' 3.10'
21
+ python-version : " 3.10"
24
22
- name : Install uv
25
23
uses : astral-sh/setup-uv@v2
26
24
with :
40
38
name : coverage-html
41
39
path : backend/htmlcov
42
40
include-hidden-files : true
43
-
44
- # https://github.com/marketplace/actions/alls-green#why
45
- alls-green : # This job does nothing and is only used for the branch protection
46
- if : always()
47
- needs :
48
- - test-backend
49
- runs-on : ubuntu-latest
50
- steps :
51
- - name : Decide whether the needed jobs succeeded or failed
52
- uses : re-actors/alls-green@release/v1
53
- with :
54
- jobs : ${{ toJSON(needs) }}
You can’t perform that action at this time.
0 commit comments