Update python constraints #68
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 | |
container: obolibrary/odkfull:latest | |
strategy: | |
max-parallel: 1 | |
steps: | |
- name: Checkout main branch | |
uses: actions/checkout@v3 | |
- name: work around permission issue | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Build constraints.txt | |
run: sh update-constraints.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
if: ${{ success() }} | |
with: | |
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 |