From 6c37523f6f7daeadf86145b200ecdd9c6b3b5fbe Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Sat, 19 Jul 2025 19:01:29 +0200 Subject: [PATCH] feat(ci): run tofu format inside devimage Signed-off-by: Vegard Hagen --- .github/workflows/tofu-format.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tofu-format.yaml b/.github/workflows/tofu-format.yaml index 5008646..d0adaac 100644 --- a/.github/workflows/tofu-format.yaml +++ b/.github/workflows/tofu-format.yaml @@ -1,6 +1,7 @@ name: Tofu format on: + workflow_dispatch: { } push: branches: [ '**', '!renovate/**' ] paths: @@ -21,6 +22,7 @@ jobs: tofu-format: name: run tofu format runs-on: ubuntu-latest + container: ghcr.io/vehagn/homelab-devcontainer permissions: contents: read @@ -29,6 +31,4 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Tofu format - uses: docker://ghcr.io/vehagn/homelab-devcontainer - with: - args: tofu fmt -recursive -diff -check + run: tofu fmt -recursive -diff -check