diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3f94add458..83bd7b3fd0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1643,7 +1643,7 @@ jobs: endsWith(needs.check-cache.outputs.version-label, '-SNAPSHOT') && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/releases') + (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/releases' || github.ref == 'refs/heads/release/k2') secrets: inherit with: @@ -1706,10 +1706,10 @@ jobs: !endsWith(needs.check-cache.outputs.version-label, '-SNAPSHOT') && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/releases') && + (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/releases' || github.ref == 'refs/heads/release/k2') (needs.check-release-build.outputs.is_publish_build == 'true') secrets: inherit with: version-label: ${{ needs.check-cache.outputs.version-label }} - packages-sha-label: ${{ needs.check-cache.outputs.packages-sha }} \ No newline at end of file + packages-sha-label: ${{ needs.check-cache.outputs.packages-sha }}