Skip to content

Commit b1b5559

Browse files
committed
ci: remove mise.toml from generate workflow commit scope
Since the generate task no longer runs `mise use --pin protoc@latest`, mise.toml should not change during generation. Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 87f97d4 commit b1b5559

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/generate-protobuf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Commit and push generated sources
4949
run: |
5050
git diff --quiet && exit 0
51-
UNEXPECTED=$(git diff --name-only | grep -v '\.java$' | grep -v '^mise\.toml$' || true)
51+
UNEXPECTED=$(git diff --name-only | grep -v '\.java$' || true)
5252
if [[ -n "$UNEXPECTED" ]]; then
5353
echo "::error::Unexpected files changed:"
5454
echo "$UNEXPECTED"
@@ -59,6 +59,6 @@ jobs:
5959
# TODO: switch to PROMBOT_GITHUB_TOKEN once it's added to this repo.
6060
git config user.name "github-actions[bot]"
6161
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
62-
git add '*.java' mise.toml
62+
git add '*.java'
6363
git commit -m "chore: regenerate protobuf sources"
6464
git push

0 commit comments

Comments
 (0)