From 401bfae7328def447d91c580042fb96201f6d41f Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Sat, 30 Mar 2024 17:24:48 +0200 Subject: [PATCH] actions: Only do a checkout if in tuf-on-ci repository --- actions/test-repository/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/test-repository/action.yml b/actions/test-repository/action.yml index 3119dae8..aa2d143d 100644 --- a/actions/test-repository/action.yml +++ b/actions/test-repository/action.yml @@ -31,6 +31,7 @@ runs: using: "composite" steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + if: inputs.compare_source == 'true' with: ref: "publish"