From: Daan De Meyer Date: Tue, 8 Apr 2025 11:54:04 +0000 (+0200) Subject: action: Unshallow repository X-Git-Tag: v26~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17c67f4e16808390b1d8a0fcf0b639b1bd0e5de7;p=thirdparty%2Fmkosi.git action: Unshallow repository We want the full history so that MinimumVersion= with a git sha works properly. --- diff --git a/action.yaml b/action.yaml index d650b4c0a..019a81697 100644 --- a/action.yaml +++ b/action.yaml @@ -73,6 +73,10 @@ runs: sudo aa-teardown || true sudo apt-get remove apparmor + - name: Unshallow + shell: bash + run: git -C ${{ github.action_path }} fetch --unshallow + - name: Install shell: bash run: sudo ln -svf ${{ github.action_path }}/bin/mkosi /usr/bin/mkosi