From e8ff3188d9a0515409bddcbfc97bf967c8b61333 Mon Sep 17 00:00:00 2001 From: John Mertic Date: Tue, 21 Nov 2023 15:16:01 -0500 Subject: [PATCH] Add validate landscape.yml workflow Signed-off-by: John Mertic --- .github/workflows/validate.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 00000000..6547f36b --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,19 @@ +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@v2 + with: + target_kind: data + target_path: ./landscape.yml