Skip to content

Commit 688940a

Browse files
authored
Ignore mise.lock in git-status-check (#1760)
The mise.lock file is only updated when a machine first downloads a tool version. If there is a cache on the machine, the lockfile is not updated with the checksum entry. It also only adds a checksum entry for the arch of the machine that is installing the tool. This means that sometimes CI will update the mise.lock file and cause the git-status-check to fail.
1 parent d2d946e commit 688940a

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

provider-ci/internal/pkg/templates/base/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
sdk/nodejs/package.json
9595
sdk/python/pyproject.toml
9696
sdk/java/build.gradle
97+
**/mise.lock
98+
**/mise.*.lock
9799
- name: Commit ${{ matrix.language }} SDK changes for Renovate
98100
# If the worktree is dirty and this is a Renovate PR to bump
99101
# dependencies, commit the updated SDK and push it back to the PR. The

provider-ci/test-providers/acme/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ jobs:
9090
sdk/nodejs/package.json
9191
sdk/python/pyproject.toml
9292
sdk/java/build.gradle
93+
**/mise.lock
94+
**/mise.*.lock
9395
- name: Commit ${{ matrix.language }} SDK changes for Renovate
9496
# If the worktree is dirty and this is a Renovate PR to bump
9597
# dependencies, commit the updated SDK and push it back to the PR. The

provider-ci/test-providers/aws/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ jobs:
106106
sdk/nodejs/package.json
107107
sdk/python/pyproject.toml
108108
sdk/java/build.gradle
109+
**/mise.lock
110+
**/mise.*.lock
109111
- name: Commit ${{ matrix.language }} SDK changes for Renovate
110112
# If the worktree is dirty and this is a Renovate PR to bump
111113
# dependencies, commit the updated SDK and push it back to the PR. The

provider-ci/test-providers/cloudflare/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103
sdk/nodejs/package.json
104104
sdk/python/pyproject.toml
105105
sdk/java/build.gradle
106+
**/mise.lock
107+
**/mise.*.lock
106108
- name: Commit ${{ matrix.language }} SDK changes for Renovate
107109
# If the worktree is dirty and this is a Renovate PR to bump
108110
# dependencies, commit the updated SDK and push it back to the PR. The

provider-ci/test-providers/docker/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ jobs:
108108
sdk/nodejs/package.json
109109
sdk/python/pyproject.toml
110110
sdk/java/build.gradle
111+
**/mise.lock
112+
**/mise.*.lock
111113
- name: Commit ${{ matrix.language }} SDK changes for Renovate
112114
# If the worktree is dirty and this is a Renovate PR to bump
113115
# dependencies, commit the updated SDK and push it back to the PR. The

provider-ci/test-providers/eks/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ jobs:
105105
sdk/nodejs/package.json
106106
sdk/python/pyproject.toml
107107
sdk/java/build.gradle
108+
**/mise.lock
109+
**/mise.*.lock
108110
- name: Commit ${{ matrix.language }} SDK changes for Renovate
109111
# If the worktree is dirty and this is a Renovate PR to bump
110112
# dependencies, commit the updated SDK and push it back to the PR. The

provider-ci/test-providers/xyz/.github/workflows/build_sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ jobs:
9898
sdk/nodejs/package.json
9999
sdk/python/pyproject.toml
100100
sdk/java/build.gradle
101+
**/mise.lock
102+
**/mise.*.lock
101103
- name: Commit ${{ matrix.language }} SDK changes for Renovate
102104
# If the worktree is dirty and this is a Renovate PR to bump
103105
# dependencies, commit the updated SDK and push it back to the PR. The

0 commit comments

Comments
 (0)