Skip to content

Commit

Permalink
made chnages to run next steps although the previous step fail
Browse files Browse the repository at this point in the history
Signed-off-by: hansinikarunarathne <[email protected]>
  • Loading branch information
hansinikarunarathne committed Jun 29, 2024
1 parent e31486c commit f9e0f2e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/yaml_formatter.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Proper Formatting on Yaml files
name: Proper Formatting on YAML files

on: [push, pull_request]

jobs:
format_python_files:
format_YAML_files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -13,8 +13,10 @@ jobs:

- name: Lint YAML files
run: yamllint .
continue-on-error: true

- name: YAML Formatting Guidelines
if: always()
run: |
echo "### YAML Formatting Guidelines ###
If there is a formatting error in your YAML file, you will see errors like the one below:
Expand All @@ -38,4 +40,4 @@ jobs:
indent-sequences: false
line-length:
max: 400
"
"

0 comments on commit f9e0f2e

Please sign in to comment.