diff --git a/.github/workflows/conftest-unittests.yaml b/.github/workflows/conftest-unittests.yaml index e4d224bb..bbc6a519 100644 --- a/.github/workflows/conftest-unittests.yaml +++ b/.github/workflows/conftest-unittests.yaml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v4 - name: Conftest - uses: redhat-cop/github-actions/confbatstest@master + uses: redhat-cop/github-actions/confbatstest@v4 with: tests: _test/conftest-unittests.sh policies: '[]' # An empty array is provided as the policies are already cloned via source. diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6b0e10f2..a20c3602 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -10,13 +10,13 @@ jobs: uses: actions/checkout@v4 - name: Generate konstraint docs - uses: redhat-cop/github-actions/confbatstest@master + uses: redhat-cop/github-actions/confbatstest@v4 with: raw: konstraint doc -o POLICIES.md - name: Check if there are changes to POLICIES.md id: changes - uses: UnicornGlobal/has-changes-action@master + uses: UnicornGlobal/has-changes-action@v1.0.10 with: pathspec: POLICIES.md diff --git a/.github/workflows/gatekeeper-k8s-integrationtests.yaml b/.github/workflows/gatekeeper-k8s-integrationtests.yaml index c2ae498f..cca0db82 100644 --- a/.github/workflows/gatekeeper-k8s-integrationtests.yaml +++ b/.github/workflows/gatekeeper-k8s-integrationtests.yaml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v4 - name: Validate integration test data via kubeval - uses: redhat-cop/github-actions/confbatstest@master + uses: redhat-cop/github-actions/confbatstest@v4 with: raw: find policy/* -regex '.*test_data\/integration\/.*$' -exec kubeval --openshift --strict --skip-kinds ServiceMonitor {} \; diff --git a/.github/workflows/opa-profile.yaml b/.github/workflows/opa-profile.yaml index 9776c21a..d58a0ed6 100644 --- a/.github/workflows/opa-profile.yaml +++ b/.github/workflows/opa-profile.yaml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v4 - name: Opa eval --profile - uses: redhat-cop/github-actions/confbatstest@master + uses: redhat-cop/github-actions/confbatstest@v4 with: tests: _test/opa-profile.sh policies: '[]' # An empty array is provided as the policies are already cloned via source.