Skip to content

Commit

Permalink
Add checks for new Dask versions on Conda Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Dec 6, 2019
1 parent d48ace3 commit 517b410
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/watch-conda-forge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Check for new versions of Dask on Conda Forge

on:
schedule:
- cron: "0 * * * *"

jobs:
check-version:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Get latest Dask version
id: latest_version
uses: jacobtomlinson/gha-anaconda-package-version@0.1.0
with:
org: 'conda-forge'
package: 'dask'
- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@0.1.1
with:
include: "(base\/|notebook\/)"
find: "dask==[0-9\.]+"
replace: "${{ steps.latest_tag.outputs.version }}"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Update Dask version to ${{ steps.latest_tag.outputs.version }}'
title: 'Update Dask version to ${{ steps.latest_tag.outputs.version }}'
reviewers: 'jacobtomlinson'
branch: 'upgrade-dask-version'
branch-suffix: 'none'
body: |
A new Dask version has been detected.
Updated `Dockerfile`s to use `${{ steps.latest_tag.outputs.version }}`.

0 comments on commit 517b410

Please sign in to comment.