docs: clarify getPublicENI function purpose #31
Workflow file for this run
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: Pre-commit | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "*.tf" | |
| - "cmd/lambda/**" | |
| - ".pre-commit-config.yaml" | |
| - ".terraform-docs.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| precommit: | |
| # Skip for release-please PRs (skipped jobs report as "success" for required checks) | |
| if: github.event_name == 'push' || !startsWith(github.head_ref, 'release-please--') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 | |
| with: | |
| go-version-file: cmd/lambda/go.mod | |
| - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3 | |
| - name: Install tools | |
| run: | | |
| go install honnef.co/go/tools/cmd/staticcheck@latest | |
| curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 |