-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 931 Bytes
/
Copy pathupdate-lock-files.yml
File metadata and controls
36 lines (33 loc) · 931 Bytes
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
name: Update lock files
permissions:
contents: write
pull-requests: write
on:
workflow_dispatch:
schedule:
- cron: 0 5 1 * * # 1st of each month at 05:00 UTC
jobs:
pixi-update:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
run-install: false
- name: Update lock files
run: |
set -o pipefail
pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md
- name: Create pull request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update pixi lock file
title: Update pixi lock file
body-path: diff.md
branch: update-pixi
base: main
labels: dependencies
delete-branch: true
add-paths: pixi.lock