From 86297389a2a2becec7d60164086c9a4020ab365e Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Thu, 9 Jan 2025 18:39:05 +0100 Subject: [PATCH] (github-runners) add github token for mise and pre-commit --- .github/workflows/java-build.yml | 2 ++ .github/workflows/pre-commit.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/java-build.yml b/.github/workflows/java-build.yml index 79ae537..e58f7c9 100644 --- a/.github/workflows/java-build.yml +++ b/.github/workflows/java-build.yml @@ -25,6 +25,8 @@ jobs: uses: actions/checkout@v4 - name: Setup mise uses: jdx/mise-action@v2.0.3 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Make Maven Wrapper executable if: contains(matrix.os, 'win') == false run: chmod +x mvnw diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 701c45f..f75bc62 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -14,3 +14,5 @@ jobs: uses: actions/checkout@v4 - name: pre-commit uses: pre-commit/action@v3.0.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}