forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 4
50 lines (43 loc) · 1.46 KB
/
Copy pathupdate-pixi-lock.yml
File metadata and controls
50 lines (43 loc) · 1.46 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
name: Update pixi.lock
on:
schedule:
# 4:10 UTC every Sunday
- cron: "10 4 * * 0"
permissions: {}
defaults:
run:
shell: bash -euox pipefail {0}
jobs:
update_lock_file:
runs-on: ubuntu-24.04
if: github.repository_owner == 'pandas-dev'
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install Pixi
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
with:
pixi-version: v0.66.0
log-level: vv
manifest-path: pixi.toml
run-install: false
- name: Generate lock files
id: check-lock-file
run: pixi update --no-install
# There should be an update since pixi.toml references nightly packages
# or use https://github.com/prefix-dev/pixi/issues/5813
- name: Create pull request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
permissions:
pull-requests: write
with:
commit-message: Update pixi.lock
# author same as default committer for this action
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
branch: "ci/update-pixi-lock"
delete-branch: true
title: "CI: Update pixi.lock"
body: |
Scheduled update by `.github/workflows/update-pixi-lock.yml`
If CI jobs fail, modify this pull request as needed.
labels: "CI"