diff --git a/.github/workflows/conda-lock.yml b/.github/workflows/conda-lock.yml index 2b03592f7..e1a8d5486 100644 --- a/.github/workflows/conda-lock.yml +++ b/.github/workflows/conda-lock.yml @@ -48,7 +48,7 @@ jobs: exit 0 fi # Update lock_file_hashes so pushed branch name is unique. - sha256sum requirements/* > ${{ runner.temp }}/lock_file_hashes + sha256sum requirements/locks/*.txt > ${{ runner.temp }}/lock_file_hashes git add requirements/locks/*.txt git commit -m "[CI] Update conda lock files" git push --set-upstream origin "conda-lock-files:conda-lock-$(sha256sum ${{ runner.temp }}/lock_file_hashes | head -c 8)"