Keycloak Upgrade #4255
This file contains hidden or 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: Run pre-commit | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/\d{4}.\d{1,2}.\d{1,2} | |
| pull_request: | |
| jobs: | |
| pre-commit: | |
| if: github.event.pull_request.merged == false | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - name: Checkout repository 🔔 | |
| uses: actions/checkout@v4.1.1 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Setup terraform | |
| uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_version: "1.5.7" | |
| - name: Run terraform pre-commit ⚡️ | |
| uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: --all-files terraform_fmt |