Skip to content

Commit 4830edc

Browse files
committed
fix: misc feedback
1 parent cbce7fb commit 4830edc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/release-readiness.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ jobs:
1111
release-readiness:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Checkout source
14+
- name: Checkout SDK
1515
uses: actions/checkout@v4
1616
with:
1717
path: 'aws-sdk-kotlin'
18-
ref: '${{ github.head_ref }}'
1918

2019
- name: Configure Gradle
2120
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
@@ -40,11 +39,9 @@ jobs:
4039

4140
- name: Check for smithy-kotlin unreleased changes
4241
run: |
43-
cd aws-sdk-kotlin
44-
SDK_BRANCH=$(git branch --show-current)
45-
echo "aws-sdk-kotlin branch: $SDK_BRANCH"
42+
echo "aws-sdk-kotlin branch: $GITHUB_HEAD_REF"
4643
47-
cd ../smithy-kotlin
44+
cd smithy-kotlin
4845
SMITHY_KOTLIN_BRANCH=$(git branch --show-current)
4946
echo "smithy-kotlin branch: $SMITHY_KOTLIN_BRANCH"
5047
@@ -59,7 +56,7 @@ jobs:
5956
echo "::error::Matching smithy-kotlin and aws-sdk-kotlin branches but no smithy-kotlin version bump"
6057
exit 1
6158
else
62-
echo "::warning::Matching smithy-kotlin and aws-sdk-kotlin branches with smithy-kotlin version bump detected"
59+
echo "Matching smithy-kotlin and aws-sdk-kotlin branches with smithy-kotlin version bump detected"
6360
fi
6461
fi
6562

0 commit comments

Comments
 (0)