From c128705d2455886f8f73148968b24d4974b55d0d Mon Sep 17 00:00:00 2001 From: Caio Fernandes <42192251+caiovfernandes@users.noreply.github.com> Date: Thu, 28 Oct 2021 16:03:20 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Terraform=20docs=20CI=20(?= =?UTF-8?q?#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docs.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ea79893..aa6728a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,17 +1,13 @@ name: Generate terraform docs -on: - push: - branches: - - master - +on: [pull_request] jobs: docs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: - ref: master + ref: ${{ github.head_ref }} - name: Render terraform docs inside the README.md and push changes back to pushed branch uses: DNXLabs/terraform-docs@v1.0.0