From 9bc179e7f01145d3b0bccb7bf6e9fc0e56df1459 Mon Sep 17 00:00:00 2001 From: Matyrobbrt <65940752+Matyrobbrt@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:19:47 +0200 Subject: [PATCH] Band-aid fix to https://github.com/actions/checkout/issues/2041 The Git version on Ubuntu runners was updated 2 hours ago causing all of our builds to fail --- .github/workflows/build-prs.yml | 2 ++ .github/workflows/gradle-publish.yml | 3 +++ reactionable.yml | 6 ++---- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-prs.yml b/.github/workflows/build-prs.yml index 064eca9..58cebc6 100644 --- a/.github/workflows/build-prs.yml +++ b/.github/workflows/build-prs.yml @@ -28,6 +28,8 @@ jobs: with: fetch-depth: 1000 fetch-tags: true + - name: Fetch tags # See https://github.com/actions/checkout/issues/2041 + run: git fetch --tags # Switch to a new branch with the PR number and PR branch name, # for the projects where the buildscript uses the branch name diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 950852b..d9ec23e 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -137,6 +137,9 @@ jobs: fetch-depth: 1000 fetch-tags: true + - name: Fetch tags # See https://github.com/actions/checkout/issues/2041 + run: git fetch --tags + - name: Make Gradle executable # language=bash run: chmod +x ./gradlew # Thanks Windows diff --git a/reactionable.yml b/reactionable.yml index 4e5c81e..906ca9c 100644 --- a/reactionable.yml +++ b/reactionable.yml @@ -29,14 +29,11 @@ repositories: merge me now: type: merge method: SQUASH + neoforged/neoforge: baseRunCommand: | echo "JAVA_HOME=$(echo $JAVA_HOME_21_X64)" >> "$GITHUB_ENV" ./gradlew :neoforge:setup - runUploadPattern: | - src/ - tests/src/ - testframework/src/ backport: preApplyGenCommands: - ./gradlew :neoforge:setup @@ -66,6 +63,7 @@ repositories: type: keep-rebased awaiting community agreement: type: block + prActions: repository: neoforged/practionrunner workflow: run_pr.yml@main