File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,21 @@ jobs:
1515 - name : Checkout repository
1616 uses : actions/checkout@v4
1717
18- - name : Lint YAML files
19- id : yaml-lint
20- uses : ibiqlik/action-yamllint@v3
18+ - name : Set up Python
19+ uses : actions/setup-python@v5
2120 with :
22- config_data : |
23- rules:
24- line-length: disable
21+ python-version : ' 3.13'
22+
23+ - name : Install yamllint
24+ run : pip install yamllint
25+
26+ - name : Lint YAML files
27+ id : yamllint-check
28+ run : |
29+ yamllint -f github -d '{rules: {line-length: disable}}' .
2530
2631 - name : Comment on PR if check failed
27- if : failure() && steps.yaml-lint .outcome == 'failure'
32+ if : failure() && steps.yamllint-check .outcome == 'failure'
2833 uses : actions/github-script@v7
2934 with :
3035 script : |
You can’t perform that action at this time.
0 commit comments