Skip to content

Update Dependencies #518

Update Dependencies

Update Dependencies #518

name: Update Dependencies
on:
schedule:
- cron: '0 6 */2 * *'
jobs:
poetry_update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Update Dependencies
run: ./gradlew poetryUpdate
- name: Disable Git Hooks
run: rm -rf .git/hooks
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ steps.generate-token.outputs.token }}
branch: update/update-poetry-dependencies
title: Update poetry dependencies
body: Update poetry dependencies
commit-message: "chore(deps): Update poetry dependencies"
delete-branch: true