-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checks for new Dask versions on Conda Forge
- Loading branch information
1 parent
d48ace3
commit 517b410
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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
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 }}`. |