From b4096f702fc6ac411359f080ebb18a89d0d8c893 Mon Sep 17 00:00:00 2001 From: merou Date: Sat, 10 May 2025 21:00:00 +0200 Subject: [PATCH] Update validate.yml --- .github/workflows/validate.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 95b2dc4..8e4a87e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,6 +1,11 @@ --- name: yaml-lint -on: [push] +on: pull_request + +permissions: + contents: write + pull-requests: write + jobs: lint-yaml-files: runs-on: ubuntu-latest @@ -10,3 +15,9 @@ jobs: uses: ibiqlik/action-yamllint@v3 with: config_file: .yamllint + + - name: Enable auto-merge for all patch versions + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}