Update actions/setup-python action to v5 #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate terraform docs | |
on: | |
push: | |
# don't run when we push a tag | |
tags-ignore: | |
- '*' | |
# don't run when we merge to main | |
# the action should have run already | |
branches-ignore: | |
- 'main' | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: terraform-linters/setup-tflint@v2 | |
name: Setup TFLint | |
with: | |
tflint_version: v0.38.1 | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
- uses: pre-commit/action@v3.0.0 | |
# pre-commit fails if it changed files | |
# we want to go on | |
continue-on-error: true | |
- uses: pre-commit/action@v3.0.0 | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions |