This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-mcp.git
The following commit(s) were added to refs/heads/main by this push:
new dde0ab9 feat: simplify ATR upload conditions by removing ASF_USERNAME
requirement (#24)
dde0ab9 is described below
commit dde0ab9abcd30dfe035fea8ca60e56cdb1709cba
Author: Aditya Parikh <[email protected]>
AuthorDate: Tue Dec 16 15:27:54 2025 -0500
feat: simplify ATR upload conditions by removing ASF_USERNAME requirement
(#24)
---
.github/workflows/atr-release-test.yml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/atr-release-test.yml
b/.github/workflows/atr-release-test.yml
index 045c6b4..21b0663 100644
--- a/.github/workflows/atr-release-test.yml
+++ b/.github/workflows/atr-release-test.yml
@@ -227,10 +227,9 @@ jobs:
echo "Total size: $(du -sh build/distributions | cut -f1)"
- name: Upload artifacts to ATR (Real)
- if: ${{ !inputs.dry_run && secrets.ASF_USERNAME != '' }}
+ if: ${{ !inputs.dry_run }}
uses: apache/tooling-actions/upload-to-atr@main
with:
- asf-uid: ${{ secrets.ASF_USERNAME }}
project: ${{ env.ATR_PROJECT_NAME }}
version: ${{ inputs.release_version }}-${{
inputs.release_candidate }}
src: build/distributions
@@ -350,7 +349,7 @@ jobs:
echo "----------------------------------------"
- name: Resolve vote and announce on ATR (Real)
- if: ${{ !inputs.dry_run && secrets.ASF_USERNAME != '' }}
+ if: ${{ !inputs.dry_run }}
uses: apache/tooling-actions/release-on-atr@main
with:
version: ${{ inputs.release_version }}
@@ -370,7 +369,6 @@ jobs:
echo "✅ Dry run completed successfully" >>
$GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "To test with real ATR (requires onboarding):" >>
$GITHUB_STEP_SUMMARY
- echo "1. Add ASF_USERNAME secret" >> $GITHUB_STEP_SUMMARY
echo "2. Run workflow with dry_run=false" >>
$GITHUB_STEP_SUMMARY
else
echo "✅ ATR test completed" >> $GITHUB_STEP_SUMMARY