<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Introduced an automated process that regularly updates project dependencies, enhancing stability and ensuring the app remains secure and up-to-date. - Removed an outdated workflow for profiling Python scripts, streamlining the CI/CD process. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
40 lines
No EOL
1,001 B
YAML
40 lines
No EOL
1,001 B
YAML
name: Update Poetry Dependencies
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 3 * * 0'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-dependencies:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.9'
|
|
cache: 'poetry'
|
|
|
|
- name: Install Poetry
|
|
run: |
|
|
curl -sSL https://install.python-poetry.org | python3 -
|
|
poetry config virtualenvs.create false
|
|
|
|
- name: Update dependencies
|
|
run: poetry update
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v6
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: "chore: Update Poetry dependencies"
|
|
title: "chore: Update Poetry dependencies"
|
|
body: "Automated Poetry dependency updates"
|
|
base: "dev"
|
|
branch: "chore/poetry-updates"
|
|
delete-branch: true |