Skip to content

Bump the terraform group across 1 directory with 5 updates #330

Bump the terraform group across 1 directory with 5 updates

Bump the terraform group across 1 directory with 5 updates #330

Workflow file for this run

name: Code-Generation
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
permissions:
contents: read
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: ./go.mod
- run: go generate ./...
- name: git diff
run: |
git diff --compact-summary --exit-code || \
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)