From f9e0f2edd8792ffff5fb914b9b7bcb36d3ec8797 Mon Sep 17 00:00:00 2001 From: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> Date: Sat, 29 Jun 2024 19:29:06 +0530 Subject: [PATCH] made chnages to run next steps although the previous step fail Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --- .github/workflows/yaml_formatter.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/yaml_formatter.yaml b/.github/workflows/yaml_formatter.yaml index 4fef54bb07..82714c366c 100644 --- a/.github/workflows/yaml_formatter.yaml +++ b/.github/workflows/yaml_formatter.yaml @@ -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 @@ -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: @@ -38,4 +40,4 @@ jobs: indent-sequences: false line-length: max: 400 - " \ No newline at end of file + "