chore(editor): set indent size=2 for the yaml files (#8366)

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
Delweng
2024-05-23 20:51:25 +08:00
committed by GitHub
parent b8eebbd3d4
commit bc4dd37872
5 changed files with 9 additions and 8 deletions

View File

@ -15,6 +15,9 @@ indent_size = 4
[*.rs] [*.rs]
max_line_length = 100 max_line_length = 100
[*.{yml,yaml}]
indent_size = 2
[*.md] [*.md]
# double whitespace at end of line # double whitespace at end of line
# denotes a line break in Markdown # denotes a line break in Markdown

View File

@ -5,4 +5,4 @@ contact_links:
about: Please ask and answer questions here to keep the issue tracker clean. about: Please ask and answer questions here to keep the issue tracker clean.
- name: Security - name: Security
url: mailto:georgios@paradigm.xyz url: mailto:georgios@paradigm.xyz
about: Please report security vulnerabilities here. about: Please report security vulnerabilities here.

View File

@ -11,7 +11,7 @@ body:
label: Describe the feature label: Describe the feature
description: | description: |
Please describe the feature and what it is aiming to solve, if relevant. Please describe the feature and what it is aiming to solve, if relevant.
If the feature is for a crate, please include a proposed API surface. If the feature is for a crate, please include a proposed API surface.
validations: validations:
required: true required: true

View File

@ -29,7 +29,7 @@ jobs:
id: services id: services
run: | run: |
export github_sha=${{ github.sha }} export github_sha=${{ github.sha }}
export github_repository=${{ github.repository }} export github_repository=${{ github.repository }}
cat etc/assertoor/assertoor-template.yaml | envsubst > etc/assertoor/assertoor.yaml cat etc/assertoor/assertoor-template.yaml | envsubst > etc/assertoor/assertoor.yaml
@ -92,7 +92,7 @@ jobs:
elif [ "$task_result" == "failure" ]; then elif [ "$task_result" == "failure" ]; then
task_result="${RED}failure${NC}" task_result="${RED}failure${NC}"
fi fi
echo -e " $(printf '%-4s' "$task_id")\t$task_status\t$task_result\t$(printf '%-50s' "$task_graph$task_name") \t$task_title" echo -e " $(printf '%-4s' "$task_id")\t$task_status\t$task_result\t$(printf '%-50s' "$task_graph$task_name") \t$task_title"
done <<< $(echo "$tasks") done <<< $(echo "$tasks")
} }
@ -153,7 +153,7 @@ jobs:
echo "$task_lines" echo "$task_lines"
fi fi
if [ $failed_tests -gt 0 ]; then if [ $failed_tests -gt 0 ]; then
final_test_result="failure" final_test_result="failure"
break break
fi fi
@ -197,7 +197,7 @@ jobs:
with: with:
name: "kurtosis-enclave-dump-${{ github.run_id }}" name: "kurtosis-enclave-dump-${{ github.run_id }}"
path: ./temp/dump path: ./temp/dump
- name: Return test result - name: Return test result
shell: bash shell: bash
run: | run: |
@ -227,4 +227,3 @@ jobs:
exit 1 # fail action exit 1 # fail action
fi fi

View File

@ -21,4 +21,3 @@ jobs:
script: | script: |
const label_pr = require('./.github/scripts/label_pr.js') const label_pr = require('./.github/scripts/label_pr.js')
await label_pr({github, context}) await label_pr({github, context})