We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7271b79 commit 565a68cCopy full SHA for 565a68c
.github/workflows/tf-tofu-format-and-validate.yml
.github/workflows/tofu-format-and-validate.yml
@@ -0,0 +1,24 @@
1
+name: tofu-format-and-validate
2
+
3
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ paths:
7
+ - 'terraform/**'
8
+ push:
9
+ branches:
10
+ - main
11
12
13
14
+env:
15
+ TENV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16
17
+jobs:
18
+ format-and-validate:
19
+ runs-on: codebuild-cdap-${{github.run_id}}-${{github.run_attempt}}
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
23
+ - uses: cmsgov/cdap/actions/setup-tenv@8343fb96563ce4b74c4dececee9b268f42bd4a40
24
+ - run: scripts/tofu-format-and-validate-diff
0 commit comments