-
-
Notifications
You must be signed in to change notification settings - Fork 12
31 lines (25 loc) · 947 Bytes
/
upgrade-locks.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
name: Upgrade dependency locks
on:
schedule:
- cron: "0 12 1 * *"
workflow_dispatch:
jobs:
upgrade-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: "true"
- name: Install Python
uses: ./.github/actions/setup-py
- name: Upgrade dependency locks
run: nox -s freeze-locks
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f
with:
author: "always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>"
branch: task/upgrade-deps
commit-message: Upgrade dependency locks
committer: "always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>"
title: Upgrade dependency locks
token: ${{ secrets.ACTIONS_TOKEN || secrets.GITHUB_TOKEN }}