Update python constraints #175
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 python constraints | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 13 * * 1" | |
jobs: | |
constraints: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
steps: | |
- name: Check Docker version | |
# This is to fail early in case docker is not available on the base image.. | |
run: docker --version | |
- name: Checkout main branch | |
uses: actions/checkout@v4 | |
- name: Build constraints.txt | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace ubuntu:24.04 \ | |
sh update-constraints.sh --in-docker | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
if: ${{ success() }} | |
with: | |
token: ${{ secrets.WORKFLOW_TOKEN }} | |
commit-message: Update constraints.txt | |
title: 'Update constraints.txt' | |
body: | | |
This pull request updates constraints.txt. Make sure you run make tests manually. | |
assignees: matentzn |