Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coal
coal
Commits
ac914285
Unverified
Commit
ac914285
authored
4 months ago
by
Joris Vaillant
Browse files
Options
Downloads
Patches
Plain Diff
ci: Add a workflow to update Pixi lockfile every month
parent
9567e11d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/update_pixi_lockfile.yml
+52
-0
52 additions, 0 deletions
.github/workflows/update_pixi_lockfile.yml
with
52 additions
and
0 deletions
.github/workflows/update_pixi_lockfile.yml
0 → 100644
+
52
−
0
View file @
ac914285
name
:
CI - Update Pixi lockfile
permissions
:
contents
:
write
pull-requests
:
write
on
:
workflow_dispatch
:
schedule
:
-
cron
:
0 5 1 * *
jobs
:
pixi-update
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/create-github-app-token@v1
id
:
generate-token
with
:
app-id
:
${{ secrets.APP_ID }}
private-key
:
${{ secrets.APP_PRIVATE_KEY }}
-
uses
:
actions/checkout@v4
with
:
token
:
${{ steps.generate-token.outputs.token }}
ref
:
devel
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials
:
false
-
name
:
Set up pixi
uses
:
prefix-dev/setup-pixi@v0.8.1
with
:
run-install
:
false
-
name
:
Update lockfile
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@v7
with
:
token
:
${{ steps.generate-token.outputs.token }}
commit-message
:
'
pixi:
Update
pixi
lockfile'
title
:
Update pixi lockfile
body-path
:
diff.md
branch
:
topic/update-pixi
base
:
devel
labels
:
|
pixi
no changelog
delete-branch
:
true
add-paths
:
pixi.lock
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment