Skip to content

Update Dependencies

Update Dependencies #5

Workflow file for this run

name: Update Dependencies
on:
workflow_dispatch: # Allows you to manually trigger the workflow
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: pull latest
run: |
git pull
- name: Install Poetry
run: pip install poetry
- name: Update dependencies
run: |
poetry install
poetry update
- name: Commit changes
run: |
git config --local user.email yolov5.deepsort.pytorch@gmail.com
git config --local user.name mikel-brostrom
git add .
git commit -m "Update dependencies"
- name: Push changes
run: git push origin HEAD:dependabot/update-dependencies
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: dependabot/update-dependencies
title: "Update dependencies"
body: "This is an automated pull request to update dependencies."