From 3796ae00b5752a3d188b58a971555672b9309479 Mon Sep 17 00:00:00 2001 From: Tom Kennedy Date: Wed, 4 Oct 2023 15:16:40 -0400 Subject: [PATCH 1/2] Change name of executable in test - Also pinning to a commit so this doesn't happen in the future Signed-off-by: Tom Kennedy --- pkg/git/fetch_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/git/fetch_test.go b/pkg/git/fetch_test.go index 6695372b5..7d32ddd07 100644 --- a/pkg/git/fetch_test.go +++ b/pkg/git/fetch_test.go @@ -90,10 +90,10 @@ func testGitCheckout(t *testing.T, when spec.G, it spec.S) { }) it("preserves executable permission", func() { - err := fetcher.Fetch(testDir, "https://github.com/pivotal/kpack", "main", metadataDir) + err := fetcher.Fetch(testDir, "https://github.com/pivotal/kpack", "b8c0d491135595cc00ab78f6214bef8a7a20afd8", metadataDir) require.NoError(t, err) - fileInfo, err := os.Lstat(path.Join(testDir, "hack", "apply.sh")) + fileInfo, err := os.Lstat(path.Join(testDir, "hack", "local.sh")) require.NoError(t, err) require.True(t, isExecutableByAll(fileInfo.Mode())) From e24879b125083c8813cf66ecc13213003d712805 Mon Sep 17 00:00:00 2001 From: Tom Kennedy <10608054+tomkennedy513@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:54:06 -0400 Subject: [PATCH 2/2] Run ci on PRs to release branches Signed-off-by: Tom Kennedy <10608054+tomkennedy513@users.noreply.github.com> --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b811a289b..f6c10ba1e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,9 @@ on: - release/** tags: - v[0-9]+.[0-9]+.[0-9]+-?** + pull_request: + branches: + - release/** defaults: run: