-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (31 loc) · 1.15 KB
/
update-licence.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: Update licence
on:
schedule:
- cron: "0 7 1 1 *"
workflow_dispatch:
jobs:
update-licence:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: "true"
- name: Set up Python 3.11
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: "3.11"
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./python/base-requirements/nox.txt
- name: Update licence
run: python -m nox -s update-licence
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
author: "always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>"
branch: task/update-licence
commit-message: Update licence
committer: "always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>"
title: Update licence
token: ${{ secrets.ACTIONS_TOKEN || secrets.GITHUB_TOKEN }}