Skip to content

Test vendored

Test vendored #166

Workflow file for this run

name: Test vendored
on:
workflow_dispatch: # Allow running on-demand
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@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Run check
id: check_v
run: python tools/check_vendored_modules.py --ci
- name: Set variables
run: echo "vendored=$(cat 'tools/vendored_modules.txt')" >> "$GITHUB_OUTPUT"
shell: bash
- name: Create PR updating vendored modules
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update vendored modules.
branch: update-vendored-examples
delete-branch: true
title: "[Automatic] Update ${{ steps.check_v.outputs.vendored }} vendored module"
labels: maintenance
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 }}
author: napari-bot <[email protected]>
# 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