diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 11f0429..caf4aa0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,16 +11,8 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} - - name: Render terraform docs inside the examples/basic/README.md - uses: terraform-docs/gh-actions@v1.2.0 - with: - working-dir: ./examples/basic/ - git-push: "false" - output-file: README.md - config-file: ./examples/basic/.terraform-docs.yml - - name: Render terraform docs uses: terraform-docs/gh-actions@v1.2.0 with: - working-dir: .,examples/basic + working-dir: .,./examples/basic/ git-push: "true" diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index ba052ee..f459aab 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -10,7 +10,6 @@ on: jobs: lint-pr: runs-on: ubuntu-latest - steps: - name: Lint PR uses: amannn/action-semantic-pull-request@v5 diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 12b923c..3bdfc14 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -7,7 +7,6 @@ jobs: trivy: name: trivy runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v4 @@ -24,6 +23,7 @@ jobs: uses: reviewdog/action-trivy@v1 with: trivy_command: config + trivy_target: . github_token: ${{ secrets.github_token }} reporter: github-pr-review filter_mode: diff_context