diff --git a/.github/workflows/tests-contributors.yml b/.github/workflows/tests-contributors.yml index 30b7284f949..d6806625f8a 100644 --- a/.github/workflows/tests-contributors.yml +++ b/.github/workflows/tests-contributors.yml @@ -89,10 +89,10 @@ jobs: git log --oneline -1 ${{ env.TARGET_BRANCH_NAME }} git rebase ${{ env.TARGET_BRANCH_NAME }} - - name: Check if container changed in this PR + - name: Check if rebuild of the container image is required id: check-dockerfile-changed run: | - changes=$(git diff ${{ env.TARGET_BRANCH_NAME }}..HEAD -- dockerfile/anaconda-ci/) + changes=$(git diff ${{ env.TARGET_BRANCH_NAME }}..HEAD -- dockerfile/anaconda-ci/ anaconda.spec.in scripts/testing/install_dependencies.sh) # print for debugging echo "$changes" [ -z "$changes" ] || echo "::set-output name=changed::true" diff --git a/.github/workflows/tests-owners.yml b/.github/workflows/tests-owners.yml index 5338cbb4cdd..9ff59099204 100644 --- a/.github/workflows/tests-owners.yml +++ b/.github/workflows/tests-owners.yml @@ -60,10 +60,10 @@ jobs: git log --oneline -1 ${{ env.TARGET_BRANCH_NAME }} git rebase ${{ env.TARGET_BRANCH_NAME }} - - name: Check if container changed in this PR + - name: Check if rebuild of the container image is required id: check-dockerfile-changed run: | - changes=$(git diff origin/master..HEAD -- dockerfile/anaconda-ci/) + changes=$(git diff origin/master..HEAD -- dockerfile/anaconda-ci/ anaconda.spec.in scripts/testing/install_dependencies.sh) # print for debugging echo "$changes" [ -z "$changes" ] || echo "::set-output name=changed::true"