Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Dependabot with cd-red-bot #31

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/dependabot.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/pip-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
on:
workflow_dispatch: {}
schedule:
- cron: "20 20 * * 0"

name: "pip-compile: create PR"
jobs:
pip_compile:
name: pip-compile
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libkrb5-dev

- name: Install tox
run: pip install tox

- name: pip-compile
uses: technote-space/create-pr-action@v2
with:
EXECUTE_COMMANDS: tox -e pip-compile
COMMIT_MESSAGE: 'chore: scheduled pip-compile'
COMMIT_NAME: 'GitHub Actions'
COMMIT_EMAIL: '[email protected]'
GITHUB_TOKEN: ${{ secrets.PIP_COMPILE_TOKEN }}
PR_BRANCH_PREFIX: deps/
PR_BRANCH_NAME: 'pip-compile'
PR_TITLE: 'chore: scheduled pip-compile'
PR_BODY: '## Update dependencies

This is a scheduled update of Python dependencies within this repo managed by pip-compile.

This change will be submitted automatically within a few days if all checks have
succeeded.'
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ basepython = python3.8
skip_install = true
deps = pip-tools
commands =
pip-compile --generate-hashes --reuse-hashes --output-file=requirements.txt
pip-compile --generate-hashes --reuse-hashes --output-file=requirements-test.txt setup.py requirements-test.in
pip-compile -U --generate-hashes --reuse-hashes --output-file=requirements.txt
pip-compile -U --generate-hashes --reuse-hashes --output-file=requirements-test.txt setup.py requirements-test.in

[testenv:docs]
use_develop=true
Expand Down
Loading