mirror of
https://github.com/release-engineering/repo-autoindex.git
synced 2025-02-23 13:42:52 +00:00
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
on:
|
|
workflow_dispatch: {}
|
|
schedule:
|
|
# Sunday
|
|
- cron: "20 20 * * 0"
|
|
|
|
name: "poetry: create PR"
|
|
jobs:
|
|
poetry_update:
|
|
name: poetry update
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.9
|
|
- name: poetry update
|
|
uses: technote-space/create-pr-action@v2
|
|
with:
|
|
EXECUTE_COMMANDS: |
|
|
python -m pip install -U pip
|
|
pip install poetry
|
|
poetry update
|
|
COMMIT_MESSAGE: "chore: scheduled poetry update"
|
|
COMMIT_NAME: "GitHub Actions"
|
|
COMMIT_EMAIL: "noreply@github.com"
|
|
GITHUB_TOKEN: ${{ secrets.APPROVAL_TOKEN }}
|
|
PR_BRANCH_PREFIX: deps/
|
|
PR_BRANCH_NAME: poetry-update
|
|
PR_TITLE: "chore: scheduled poetry update"
|
|
PR_BODY: |-
|
|
## Update dependencies
|
|
|
|
This is a scheduled update of Python dependencies within this
|
|
repo managed by poetry.
|
|
|
|
This change will be approved automatically and merged within
|
|
a few days if all checks have succeeded.
|