.github/workflows/update-mise.yml
.github/workflows/update-mise.ymlBrowse 1970 files
283 tokens
1,061 bytes
Token encoding: o200k_base
Snapshot 21a254f
← Back to SKILL.md
1name: Update Mise Version2 3on:4 schedule:5 - cron: '0 0 * * *'6 workflow_dispatch:7 8permissions:9 contents: write10 pull-requests: write11 12env:13 MISE_ENV: ci14 15jobs:16 update-mise:17 runs-on: ubuntu-latest18 steps:19 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd20 with:21 fetch-depth: 022 23 - uses: jdx/mise-action@1648a7812b9aeae629881980618f07993286915124 25 # We manually configure the git user here to support the mise-upgrade script26 # which handles the commit and PR creation. This keeps the script as the27 # single source of truth for both local and CI usage.28 - run: |29 git config user.name "github-actions[bot]"30 git config user.email "github-actions[bot]@users.noreply.github.com"31 32 - run: mise run mise-upgrade33 env:34 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}35 # go-snaps ignores UPDATE_SNAPS when CI is detected, preventing snapshot36 # writes. This overrides that so the mise-upgrade script can update them.37 CI: false38