Test vendored #489
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: Test vendored | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 2 * * *' | |
jobs: | |
vendor: | |
name: Vendored | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Run check | |
id: check_v | |
run: python tools/check_vendored_modules.py --ci | |
- name: Create PR updating vendored modules | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Update vendored modules. | |
branch: update-vendored-examples | |
delete-branch: true | |
title: "[Automatic] Update ${{ steps.check_v.outputs.vendored }} vendored module" | |
body: | | |
This PR is automatically created and updated by napari GitHub | |
action cron to keep vendored modules up to date. | |
It look like ${{ steps.check_v.outputs.vendored }} has a new version. | |
token: ${{ secrets.GHA_TOKEN }} | |
# Token permissions required by the action: | |
# * pull requests: write and read | |
# * repository contents: read and write | |
# for screenshots please see https://github.com/napari/napari/pull/5777 |