From 76355ba4620467d90b2231bf7cd38ed2f0df02de Mon Sep 17 00:00:00 2001
From: Timo Furrer <tfurrer@gitlab.com>
Date: Mon, 10 Jun 2024 09:26:35 +0200
Subject: [PATCH] Update CI job rules with versions file support

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f222a53..2b2467d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,7 @@ include:
         when: never
       - changes:
           - src/gitlab-tofu.sh
+          - opentofu_versions.yaml
           - Dockerfile
           - .gitlab-ci.yml
           - tests/unit.gitlab-ci.yml
@@ -24,6 +25,7 @@ include:
         when: never
       - changes:
           - src/gitlab-tofu.sh
+          - opentofu_versions.yaml
           - Dockerfile
           - .gitlab-ci.yml
           - templates/*.yml
@@ -113,6 +115,7 @@ gitlab-opentofu-image:build:
     - if: $CI_COMMIT_TAG
     - changes:
         - Dockerfile
+        - opentofu_versions.yaml
         - .gitlab-ci.yml
         - src/**/*
         - templates/**/*
@@ -141,6 +144,7 @@ check-readme:
     - if: $CI_COMMIT_TAG
     - changes:
         - Makefile
+        - opentofu_versions.yaml
         - .gitlab-ci.yml
         - README.md
         - .gitlab/README.md.template
-- 
GitLab