Skip to content

Latest Dependency Checker #23171

Latest Dependency Checker

Latest Dependency Checker #23171

name: Latest Dependency Checker
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
build:
if: ${{ github.repository_owner == 'alteryx' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11.x'
- name: Install pip and virtualenv
run: |
python -m pip install --upgrade pip
python -m pip install virtualenv
- name: Update latest complete dependencies
run: |
python -m virtualenv venv_complete
source venv_complete/bin/activate
python -m pip install ".[complete]"
make checkdepscomplete OUTPUT_FILEPATH=nlp_primitives/tests/requirement_files/latest_complete_dependencies.txt
cat nlp_primitives/tests/requirement_files/latest_complete_dependencies.txt
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
commit-message: Update latest dependencies
title: Automated Latest Dependency Updates
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
body: "This is an auto-generated PR with **latest** dependency updates.
Please do not delete the `latest-dep-update` branch because it's needed by the auto-dependency bot."
branch: latest-dep-update
branch-suffix: short-commit-hash
base: main
assignees: machineFL
reviewers: machineAYX