File tree Expand file tree Collapse file tree 6 files changed +33
-8
lines changed
end_to_end_tests/golden-record/my_test_api_client/models
openapi_python_client/templates Expand file tree Collapse file tree 6 files changed +33
-8
lines changed Original file line number Diff line number Diff line change 33 " config:base" ,
44 " :semanticCommitTypeAll(chore)"
55 ],
6- "rangeStrategy" : " widen"
6+ "rangeStrategy" : " widen" ,
7+ "regexManagers" : [
8+ {
9+ "fileMatch" : [
10+ " release.*\\ .yml"
11+ ],
12+ "matchStrings" : [
13+ " version:\\ s*(?<currentValue>.*)"
14+ ],
15+ "depNameTemplate" : " knope" ,
16+ "datasourceTemplate" : " crate" ,
17+ "versioningTemplate" : " semver"
18+ }
19+ ],
20+ "packageRules" : [
21+ {
22+ "packagePatterns" : [
23+ " ^knope$"
24+ ],
25+ "groupName" : " knope" ,
26+ "rangeStrategy" : " pin"
27+ }
28+ ]
729}
Original file line number Diff line number Diff line change 1616 - name : Install Knope
1717 uses : knope-dev/action@v1
1818 with :
19- version : 0.6.2
19+ version : 0.7.1
2020 - run : knope release --dry-run
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Release
22
33on : workflow_dispatch
44
5+ permissions :
6+ contents : write
7+
58jobs :
69 release :
710 runs-on : ubuntu-latest
@@ -20,11 +23,11 @@ jobs:
2023 - name : Install Knope
2124 uses : knope-dev/action@v1
2225 with :
23- version : 0.6.2
26+ version : 0.7.1
2427 - name : Bump Version & Create GitHub Release
2528 run : knope release
2629 env :
27- GITHUB_TOKEN : ${{ secrets.PAT }}
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2831 - name : Install Poetry
2932 run : pip install --upgrade poetry
3033 - name : Push to PyPI
Original file line number Diff line number Diff line change 22
33
44class AnAllOfEnum (str , Enum ):
5- FOO = "foo"
6- BAR = "bar"
75 A_DEFAULT = "a_default"
6+ BAR = "bar"
7+ FOO = "foo"
88 OVERRIDDEN_DEFAULT = "overridden_default"
99
1010 def __str__ (self ) -> str :
Original file line number Diff line number Diff line change 33
44class GetLocationHeaderTypesStringEnumHeader (str , Enum ):
55 ONE = "one"
6- TWO = "two"
76 THREE = "three"
7+ TWO = "two"
88
99 def __str__ (self ) -> str :
1010 return str (self .value )
Original file line number Diff line number Diff line change 11from enum import Enum
22
33class {{ enum.class_info.name }}(str, Enum):
4- {% for key , value in enum .values . items ( ) %}
4+ {% for key , value in enum .values |dictsort ( true ) %}
55 {{ key }} = "{{ value }}"
66 {% endfor %}
77
You can’t perform that action at this time.
0 commit comments