From 5f49a05e3b147e9c42f3caa41e291b8ba9b1ee50 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 17 Jun 2024 11:25:28 +0200 Subject: [PATCH] ci: use precise ref for 3rdparty check Signed-off-by: Arthur Schiwon --- .github/workflows/block-outdated-3rdparty.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/block-outdated-3rdparty.yml b/.github/workflows/block-outdated-3rdparty.yml index e43981afac077..d94df1a4896c7 100644 --- a/.github/workflows/block-outdated-3rdparty.yml +++ b/.github/workflows/block-outdated-3rdparty.yml @@ -39,7 +39,7 @@ jobs: - name: Last 3rdparty commit on target branch id: target run: | - echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty ${{ github.base_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT" + echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ github.base_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT" - name: Compare if 3rdparty commits are different run: |