From 3ef43c7ba842fe405271a908c5ec64811e374d9b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 6 May 2025 18:29:58 +0200 Subject: [PATCH 1/2] github-action: add catalog-validate for GitHub actions --- .github/workflows/catalog-info.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/catalog-info.yml diff --git a/.github/workflows/catalog-info.yml b/.github/workflows/catalog-info.yml new file mode 100644 index 0000000..006340a --- /dev/null +++ b/.github/workflows/catalog-info.yml @@ -0,0 +1,21 @@ +--- +name: catalog-info + +on: + pull_request: + branches: + - main + paths: + - 'catalog-info.yaml' + +jobs: + validate: + runs-on: ubuntu-latest + permissions: + contents: read + packages: read + steps: + - uses: actions/checkout@v4 + + - uses: elastic/oblt-actions/elastic/validate-catalog@v1 + From 3cc65d5fdb7a0d7708e26fc1ed90c6c5d2eaed4c Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 6 May 2025 19:11:46 +0200 Subject: [PATCH 2/2] Update .github/workflows/catalog-info.yml --- .github/workflows/catalog-info.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/catalog-info.yml b/.github/workflows/catalog-info.yml index 006340a..47103e0 100644 --- a/.github/workflows/catalog-info.yml +++ b/.github/workflows/catalog-info.yml @@ -8,6 +8,9 @@ on: paths: - 'catalog-info.yaml' +permissions: + contents: read + jobs: validate: runs-on: ubuntu-latest