Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update mise workflow #1694

Merged
merged 4 commits into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions .github/workflows/mise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: pull

- name: Checkout Default Branch
uses: actions/checkout@v4
with:
ref: "${{ github.event.repository.default_branch }}"
path: default

- name: Setup mise
uses: jdx/mise-action@v2
Expand All @@ -33,7 +25,7 @@ jobs:

- name: Get diff of mise.toml
run: |
diff -u pull/.mise.toml default/.mise.toml > diff.patch
git diff > diff.patch

- name: Generate Diff
id: diff
Expand All @@ -47,12 +39,14 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
token: "${{ secrets.GITHUB_TOKEN }}"
path: pull
title: "chore(mise): upgrade dependencies"
commit-message: "chore(mise): upgrade dependencies"
body: |
Dependency upgraded in `.mise.toml`
Upgraded dependencies found in `.mise.toml`:

```diff
${{ steps.diff.outputs.diff }}
```

> [!TIP]
> Merge this pull request and then run `mise upgrade --bump` on your workstation.
Loading