Skip to content

Conversation

sundargthb
Copy link
Contributor

Issue #, if available:

Description of changes:
add automated release workflows (PyPI disabled for testing)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- name: Checkout
uses: actions/checkout@v4

- name: Check PR approval status
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this step is checking whether the pr is approved, so we probably don't need to perform this check immediately when the pr is opened

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're only checking PR status, no checkout needed

ref: context.payload.pull_request.head.sha
});

const requiredChecks = ['Lint', 'Test Python 3.10'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should include all our checks here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now includes all Python version tests and build checks



test-and-build:
name: Test and Build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there are tests in this job

});

// Include ALL required checks
const requiredChecks = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider adding integration tests too

echo "⚠️ MANUAL APPROVAL REQUIRED FOR PRODUCTION"
echo ""
echo "Before approving:"
echo "1. Test package: pip install -i https://test.pypi.org/simple/ bedrock-agentcore"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space

content = Path("pyproject.toml").read_text()
# More robust regex that matches the project version specifically
# Look for version under [project] or [tool.poetry] sections
pattern = r'(?:^\[project\]|\[tool\.poetry\])[\s\S]*?^version\s*=\s*"([^"]+)"'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are not using poetry so we can remove it

@sundargthb sundargthb merged commit 045c34a into main Aug 8, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants