diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 95b2dc4..b05d097 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,8 +1,13 @@ --- name: yaml-lint on: [push] + jobs: lint-yaml-files: + permissions: + pull-requests: write + contents: write + issues: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -10,3 +15,8 @@ jobs: uses: ibiqlik/action-yamllint@v3 with: config_file: .yamllint + + - name: Enable Pull Request Automerge + run: gh pr merge --merge --auto "1" + env: + GH_TOKEN: ${{ github.token }}