This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
Update chores #29
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 chores | |
on: | |
# Allow manual triggers. | |
workflow_dispatch: | |
# Automatically run twice a month | |
schedule: | |
- cron: 0 7 1,15 * MON | |
jobs: | |
update-packages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Apakottur/action-poetry-package-update@v1 | |
with: | |
base-branch: main | |
poetry-version: 1.7.1 | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: vrslev/[email protected] | |
- uses: pre-commit-ci/[email protected] | |
if: always() | |
- uses: peter-evans/create-pull-request@v5 | |
with: | |
branch: pre-commit-autoupdate | |
title: 'chore(deps): Update pre-commit hooks' | |
commit-message: 'chore(deps): Update pre-commit hooks' | |
body: Update pre-commit hooks | |
labels: dependencies | |
token: ${{ secrets.WRITEBACK_TOKEN }} | |
delete-branch: true | |
committer: Ariel Richtman <[email protected]> | |
author: Ariel Richtman <[email protected]> |