File tree 6 files changed +15
-21
lines changed 6 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -439,9 +439,4 @@ dotnet_naming_style.interface_pascal_case.capitalization = pascal_case
439
439
440
440
[Assets/Tests/StyleTest/IgnoreStyleTest.cs ]
441
441
442
- dotnet_naming_rule.private_fields.style = camel_case
443
- dotnet_naming_rule.private_fields.symbols = private_fields
444
- dotnet_naming_symbols.private_fields.applicable_kinds = field
445
- dotnet_naming_symbols.private_fields.applicable_accessibilities = private
446
-
447
- dotnet_naming_style.camel_case.capitalization = camel_case
442
+ dotnet_diagnostic.IDE1006.severity = error
Original file line number Diff line number Diff line change @@ -155,4 +155,4 @@ jobs:
155
155
new_file="./${{ needs.build-package.outputs.package-name }}"
156
156
latest_release="${{ needs.latest-release.outputs.tag }}"
157
157
gh release upload "$latest_release" "$new_file"
158
- echo "::notice title=Uploaded new asset::$new_file"
158
+ echo "::notice title=Uploaded new asset::$new_file"
Original file line number Diff line number Diff line change @@ -109,4 +109,4 @@ jobs:
109
109
BOT_APP_ID : ${{ secrets.BOT_APP_ID }}
110
110
BOT_PRIVATE_KEY : ${{ secrets.BOT_PRIVATE_KEY }}
111
111
with :
112
- branch : ${{ github.ref }}
112
+ branch : ${{ github.ref }}
Original file line number Diff line number Diff line change @@ -132,4 +132,4 @@ jobs:
132
132
BOT_APP_ID : ${{ secrets.BOT_APP_ID }}
133
133
BOT_PRIVATE_KEY : ${{ secrets.BOT_PRIVATE_KEY }}
134
134
with :
135
- branch : ${{ github.ref }}
135
+ branch : ${{ github.ref }}
Original file line number Diff line number Diff line change 1
- name : " (Reusable) Check .editorconfig"
1
+ name : (Reusable) Check .editorconfig
2
2
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
6
ref :
7
- description : " Specify a branch or commit ID"
7
+ description : ' Specify a branch or commit ID'
8
8
required : true
9
9
type : string
10
10
max-retries :
11
- description : " Maximum number of retries if API call fails"
11
+ description : ' Maximum number of retries if API call fails'
12
12
required : false
13
13
type : string
14
- default : " 3 "
14
+ default : ' 3 '
15
15
retry-delay :
16
- description : " Delay in seconds between retries"
16
+ description : ' Delay in seconds between retries'
17
17
required : false
18
18
type : string
19
- default : " 5 "
19
+ default : ' 5 '
20
20
fail-on-missing :
21
- description : " Fail the workflow if .editorconfig does not exist"
21
+ description : ' Fail the workflow if .editorconfig does not exist'
22
22
required : false
23
23
type : boolean
24
24
default : true
25
25
outputs :
26
26
exists :
27
- description : " Indicates whether the .editorconfig file exists"
27
+ description : ' Indicates whether the .editorconfig file exists'
28
28
value : ${{ jobs.check-editorconfig.outputs.exists }}
29
29
30
30
permissions :
49
49
50
50
echo "Checking for file: $file_path in the checked-out repository..."
51
51
52
- success=false
53
52
if [ -f "$file_path" ]; then
54
53
echo "::notice::.editorconfig file exists."
55
- success=true
54
+ success=1
56
55
else
57
56
echo "::warning::.editorconfig file does not exist."
58
57
if [ "$fail_on_missing" = "true" ]; then
Original file line number Diff line number Diff line change 4
4
workflow_call :
5
5
inputs :
6
6
ref :
7
- description : " Specify a branch or commit ID"
7
+ description : ' Specify a branch or commit ID'
8
8
required : true
9
9
type : string
10
10
editorconfig-branch :
@@ -222,4 +222,4 @@ jobs:
222
222
- name : Cleanup temporary files
223
223
if : ${{ steps.violations-log.outputs.exits == '1' && always() }}
224
224
run : |
225
- rm -f TempProject.csproj convert_to_sarif.py output.log output.sarif || true
225
+ rm -f TempProject.csproj convert_to_sarif.py output.log output.sarif || true
You can’t perform that action at this time.
0 commit comments