From c1733ecd386ba921c91993408eb19512d6a5ac2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Casta=C3=B1o=20Arteaga?= Date: Thu, 24 Aug 2023 13:12:31 +0200 Subject: [PATCH] Add workflow to validate the landscape.yml file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sergio CastaƱo Arteaga --- .github/workflows/validate.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 00000000000..a3f6f8b9946 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,18 @@ +name: Validate + +on: + merge_group: + pull_request: + branches: + - main + - master + +jobs: + validate-landscape: + runs-on: ubuntu-latest + name: "Validate landscape.yml file" + steps: + - uses: actions/checkout@v3 + - uses: cncf/landscape2-validate-action@v1 + with: + data_file: ./landscape.yml