Skip to content

Check for new versions of Dask on Conda Forge #43893

Check for new versions of Dask on Conda Forge

Check for new versions of Dask on Conda Forge #43893

name: Check for new versions of Dask on Conda Forge
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
check-version:
runs-on: ubuntu-latest
if: github.repository == 'dask/dask-docker'
steps:
- uses: actions/checkout@v2
- name: Get current Dask version
id: current_version
uses: the-coding-turtle/[email protected]
with:
file: .github/workflows/build.yml
- name: Get latest Dask version
id: latest_version
uses: jacobtomlinson/[email protected]
with:
org: "conda-forge"
package: "dask"
- name: Find and Replace Release
uses: jacobtomlinson/[email protected]
with:
find: ${{ steps.current_version.outputs.jobs_docker_env_release }}
replace: ${{ steps.latest_version.outputs.version }}
regex: false
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.DASK_BOT_TOKEN }}
commit-message: "Update Dask version to ${{ steps.latest_version.outputs.version }}"
title: "Update Dask version to ${{ steps.latest_version.outputs.version }}"
reviewers: "jacobtomlinson"
labels: "automerge"
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: "upgrade-dask-version"
body: |
A new Dask version has been detected.
Updated `Dockerfile`s to use `${{ steps.latest_version.outputs.version }}`.