From 21a3c12322125b242f86438050f7a6e9b235cbed Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Wed, 27 Mar 2024 21:04:19 +0100 Subject: [PATCH] allow to push the docs change --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a4f0d53..0cd3756 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,17 +1,15 @@ name: ci on: - pull_request: -permissions: - contents: read -defaults: - run: - shell: bash + - pull_request + jobs: ci: runs-on: ubuntu-latest steps: # Setup dependencies - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.ref }} # Run a couple of native Terraform checks - uses: hashicorp/setup-terraform@v3 @@ -35,3 +33,5 @@ jobs: output-method: inject fail-on-diff: true args: --lockfile=false + git-push: "true" # automatically push the changes to the branch +