Skip to content

Commit

Permalink
ci: Fix branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Oct 15, 2024
1 parent d07426e commit 14a4fe5
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/update_pixi_lockfiles.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - Update Pixi lockfiles
name: CI - Update Pixi lockfile
permissions:
contents: write
pull-requests: write
Expand All @@ -20,13 +20,18 @@ jobs:
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
token: ${{ steps.generate-token.outputs.token }}
ref: topic/pixi
# 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/[email protected]
with:
run-install: false

- name: Update lockfiles
- name: Update lockfile
run: |
set -o pipefail
pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md
Expand All @@ -35,11 +40,11 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: Update pixi lockfile
commit-message: 'pixi: Update pixi lockfile'
title: Update pixi lockfile
body-path: diff.md
branch: update-pixi
base: main
branch: topic/update-pixi
base: topic/pixi
labels: pixi
delete-branch: true
add-paths: pixi.lock

0 comments on commit 14a4fe5

Please sign in to comment.