Skip to content

Conversation

@shivasurya
Copy link
Owner

Problem

The R2 upload workflow was failing with:

##[error]getaddrinfo ENOTFOUND sts.auto.amazonaws.com

Root Cause

The aws-actions/configure-aws-credentials@v4 action is designed for AWS and tries to use AWS STS (Security Token Service) which doesn't exist for Cloudflare R2.

Solution

  • Remove the AWS credentials configuration action
  • Install AWS CLI directly using the official installer
  • Use environment variables for R2 credentials (already set in the upload script)

Testing

After merge, we can manually trigger the workflow to test the R2 upload.

Files Changed

  • .github/workflows/stdlib-r2-upload.yml

The aws-actions/configure-aws-credentials action doesn't work with
Cloudflare R2 as it tries to use AWS STS. Instead, install AWS CLI
directly and use environment variables for R2 credentials.
@safedep
Copy link

safedep bot commented Nov 28, 2025

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

@shivasurya shivasurya self-assigned this Nov 28, 2025
@shivasurya shivasurya merged commit 9f531d7 into main Nov 28, 2025
1 check passed
@shivasurya shivasurya deleted the fix/r2-workflow-aws-cli branch November 28, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants