Skip to content

Commit e223335

Browse files
committed
update workflow to push changes back to repo
1 parent 0ed621a commit e223335

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,11 @@ jobs:
2323
with:
2424
ref: ${{ github.event.pull_request.head.ref }}
2525

26-
- name: List files in the repository
27-
run: ls -la
28-
29-
- name: print working directory
30-
run: pwd
31-
32-
3326
- name: Render terraform docs and push changes back to PR
3427
uses: terraform-docs/gh-actions@main
3528
with:
29+
working-dir: .
30+
git-push: true
3631
config-file: .terraform-docs.yaml
3732

3833

0 commit comments

Comments
 (0)