Skip to content

chore(deps): bump botocore from 1.42.70 to 1.42.77 #2519

chore(deps): bump botocore from 1.42.70 to 1.42.77

chore(deps): bump botocore from 1.42.70 to 1.42.77 #2519

name: Update reproducible requirements
on:
pull_request:
branches: [develop]
paths:
# run this GHA if the following files have changed
- pyproject.toml
- requirements/reproducible-linux.txt
- requirements/reproducible-mac.txt
- requirements/reproducible-win.txt
jobs:
# For PRs from within the aws/aws-sam-cli repo: auto-update and push
update-reqs:
permissions:
pull-requests: write
contents: write
if: github.repository_owner == 'aws' && github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Update all reproducible requirements
run: make update-reproducible-reqs-uv
- name: Push changes
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git add requirements/reproducible-*.txt
git commit -m "Update reproducible requirements" || echo "nothing to commit"
git push
# For PRs from forks: verify requirements are up to date, fail with instructions if not
verify-up-to-date:
if: github.repository_owner == 'aws' && github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Check reproducible requirements are up to date
run: make update-reproducible-reqs-uv
- name: Fail if requirements are out of date
run: |
if ! git diff --quiet requirements/reproducible-*.txt; then
echo "::error::Reproducible requirements are out of date. Please run 'make update-reproducible-reqs' locally and commit the changes before raising a PR."
exit 1
fi
echo "Reproducible requirements are up to date."