Add configurable return to home settings #7
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: Compile Requirements | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
compile-requirements: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.deploy_key }} | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install pip-tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install pip-tools | |
- name: Upgrade dependencies and compile requirements file | |
run: | | |
pip-compile --output-file=requirements.txt pyproject.toml --upgrade | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "GHA: Update dependencies" | |
title: Update dependencies | |
body: | | |
- Dependency updates | |
Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request | |
branch: update-dependencies | |
labels: automated-pr | |
delete-branch: true |