forked from napari/napari
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 1.26 KB
/
test_vendored.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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@v4
- 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