chore(deps): bump cfn-lint from 0.87.7 to 1.4.2 in /requirements #1203
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update reproducible requirements | |
on: | |
pull_request: | |
branches: [develop] | |
paths: | |
# run this GHA if the following files have changed | |
- requirements/base.txt | |
- requirements/reproducible-linux.txt | |
- requirements/reproducible-mac.txt | |
- requirements/reproducible-win.txt | |
jobs: | |
update-reqs: | |
permissions: | |
pull-requests: write | |
contents: write | |
if: github.repository_owner == 'aws' | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python: 3.11 | |
target: update-reproducible-linux-reqs | |
- os: macos-latest | |
python: 3.8 | |
target: update-reproducible-mac-reqs | |
- os: windows-latest | |
python: 3.11 | |
target: update-reproducible-win-reqs | |
max-parallel: 1 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: make ${{ matrix.target }} | |
- name: Push changes | |
run: | | |
git config --global user.email "action@github.com" | |
git config --global user.name "GitHub Action" | |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | |
git commit -am "Update reproducibles: ${{ matrix.target }}" || echo "nothing to commit" | |
git push |