Skip to content

Commit dde0ab9

Browse files
feat: simplify ATR upload conditions by removing ASF_USERNAME requirement (#24)
1 parent 366022f commit dde0ab9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/atr-release-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,9 @@ jobs:
227227
echo "Total size: $(du -sh build/distributions | cut -f1)"
228228
229229
- name: Upload artifacts to ATR (Real)
230-
if: ${{ !inputs.dry_run && secrets.ASF_USERNAME != '' }}
230+
if: ${{ !inputs.dry_run }}
231231
uses: apache/tooling-actions/upload-to-atr@main
232232
with:
233-
asf-uid: ${{ secrets.ASF_USERNAME }}
234233
project: ${{ env.ATR_PROJECT_NAME }}
235234
version: ${{ inputs.release_version }}-${{ inputs.release_candidate }}
236235
src: build/distributions
@@ -350,7 +349,7 @@ jobs:
350349
echo "----------------------------------------"
351350
352351
- name: Resolve vote and announce on ATR (Real)
353-
if: ${{ !inputs.dry_run && secrets.ASF_USERNAME != '' }}
352+
if: ${{ !inputs.dry_run }}
354353
uses: apache/tooling-actions/release-on-atr@main
355354
with:
356355
version: ${{ inputs.release_version }}
@@ -370,7 +369,6 @@ jobs:
370369
echo "✅ Dry run completed successfully" >> $GITHUB_STEP_SUMMARY
371370
echo "" >> $GITHUB_STEP_SUMMARY
372371
echo "To test with real ATR (requires onboarding):" >> $GITHUB_STEP_SUMMARY
373-
echo "1. Add ASF_USERNAME secret" >> $GITHUB_STEP_SUMMARY
374372
echo "2. Run workflow with dry_run=false" >> $GITHUB_STEP_SUMMARY
375373
else
376374
echo "✅ ATR test completed" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)