From f9edd0bb3d8badd1d2f0fc68938c0421f2c4f96c Mon Sep 17 00:00:00 2001 From: Maciej Michalski <5445923+spy86@users.noreply.github.com> Date: Tue, 14 May 2024 22:08:09 +0200 Subject: [PATCH 1/3] Update documentation.yml --- .github/workflows/documentation.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index aaed192..5a3a19d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,16 +3,17 @@ on: - pull_request jobs: docs: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.ref }} - - name: Render terraform docs inside the README.md and push changes back to PR branch - uses: terraform-docs/gh-actions@v1.1.0 + uses: terraform-docs/gh-actions@v1.0.0 with: + github-token: ${{ secrets.GH_TOKEN }} working-dir: . output-file: README.md - output-method: inject + output-method: replace + config-file: .terraform-docs.yml git-push: "true" From bc7c14661d478e9670a633f88a81452b8da1ec61 Mon Sep 17 00:00:00 2001 From: Maciej Michalski <5445923+spy86@users.noreply.github.com> Date: Tue, 14 May 2024 22:10:15 +0200 Subject: [PATCH 2/3] Update dependabot.yml From ac773bf3461f8ea18c98f7108ed315871fcb88b4 Mon Sep 17 00:00:00 2001 From: Maciej Michalski <5445923+spy86@users.noreply.github.com> Date: Tue, 14 May 2024 22:10:45 +0200 Subject: [PATCH 3/3] Update documentation.yml --- .github/workflows/documentation.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 5a3a19d..aaed192 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,17 +3,16 @@ on: - pull_request jobs: docs: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} + - name: Render terraform docs inside the README.md and push changes back to PR branch - uses: terraform-docs/gh-actions@v1.0.0 + uses: terraform-docs/gh-actions@v1.1.0 with: - github-token: ${{ secrets.GH_TOKEN }} working-dir: . output-file: README.md - output-method: replace - config-file: .terraform-docs.yml + output-method: inject git-push: "true"