Skip to content

Bump the all group in /dependabot with 13 updates #352

Bump the all group in /dependabot with 13 updates

Bump the all group in /dependabot with 13 updates #352

Workflow file for this run

name: Sync Requirements
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
sync:
strategy:
matrix:
python-version: [3.11]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.COMMIT_ACTIONS_TOKEN }}
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install vereqsyn
- name: Syncing ztk-versions.cfg with requirements.txt
run: |
vereqsyn ztk-versions.cfg dependabot/requirements.txt
- name: Commit changes
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git add ztk-versions.cfg dependabot/requirements.txt
git diff --cached --quiet || git commit -m "Version synchronization"
git push