Skip to content

Commit

Permalink
Use pangeo-bot to issue auto updating PRs (#8)
Browse files Browse the repository at this point in the history
* add github action to watch upstream packages

* update package version too

* [test] run everywhere

* no if

* escape

* meta.yml -> meta.yaml, run every five minutes for debugging

* update cron syntax

* update cron freq

* rollback some debugging changes

* fix PR template for k8s

* use pangeo-bot
  • Loading branch information
Joe Hamman authored Apr 4, 2020
1 parent 9ba0868 commit d437149
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/watch-conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ on:
jobs:
check-version:
runs-on: ubuntu-latest
if: github.repository == 'conda-forge/pangeo-dask-feedstock'
if: github.repository == 'pangeo-bot/pangeo-dask-feedstock'

steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: 'master'
run: |
git config user.password ${{ secrets.PAT }}
git remote set-url origin https://github.com/pangeo-bot/pangeo-dask-feedstock
git fetch --unshallow -p origin
- name: calver
id: calver
Expand Down Expand Up @@ -89,16 +95,23 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update pangeo-dask metapackage version(s)"
title: "Update pangeo-dask metapackage version(s)"
reviewers: "scottyhq"
branch: "upgrade-dask-versions"
token: ${{ secrets.PAT }}
request-to-parent: true
body: |
One or more new Dask package versions have been detected.
It is very likely that one or more of the packages in this metapackage are out of date.
Updated `meta.yaml`s to use:
This PR updating one or more the following packages:
- dask =`${{ steps.latest_version_dask.outputs.version }}`
- distributed =`${{ steps.latest_version_distributed.outputs.version }}`
- dask-kubernetes =`${{ steps.latest_version_k8s.outputs.version }}`
- dask-gateway =`${{ steps.latest_version_gateway.outputs.version }}`
Notes before merging this PR:
1. Feel free to push to the bot's branch to update this PR if needed.
2. Checklist before merging this PR:
- [ ] Dependencies have been updated if changed
- [ ] Tests have passed

0 comments on commit d437149

Please sign in to comment.