From 3b06d839bbcb6fa325c2b1dd002fa1714cc8b3c8 Mon Sep 17 00:00:00 2001 From: Caio Fernandes Date: Wed, 27 Oct 2021 16:59:58 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Terraform=20docs=20CI?= 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