update-rapids #94
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
name: update-rapids | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 20 * * *" # Run once daily | |
permissions: | |
pull-requests: write | |
contents: write | |
defaults: | |
run: | |
shell: bash -l {0} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To use GitHub CLI | |
jobs: | |
update-rapids: | |
name: Check latest RAPIDS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Check latest RAPIDS and update conftest.sh | |
run: | | |
bash tests/buildkite/update-rapids.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
if: github.ref == 'refs/heads/master' | |
with: | |
add-paths: | | |
tests/buildkite | |
branch: create-pull-request/update-rapids | |
base: master | |
title: "[CI] Update RAPIDS to latest stable" | |
commit-message: "[CI] Update RAPIDS to latest stable" | |