From 3b8d0ea807b11bc063236f2d618562bdd4d7ee1d Mon Sep 17 00:00:00 2001 From: LittleChest <81231195+LittleChest@users.noreply.github.com> Date: Sat, 17 Feb 2024 23:15:16 +0800 Subject: [PATCH 1/2] fix: Missing to add --- .github/workflows/leaves.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/leaves.yml b/.github/workflows/leaves.yml index 78cf901e..39c3e0fd 100644 --- a/.github/workflows/leaves.yml +++ b/.github/workflows/leaves.yml @@ -62,6 +62,7 @@ jobs: git clone git@github.com:LeavesMC/Configuration.git configuration -b Leaves cp run/leaves.yml configuration/leaves.yml -f cd configuration + git add leaves.yml git commit leaves.yml -m "https://github.com/LeavesMC/Leaves/commit/$(cd .. && git rev-parse HEAD)" git push origin HEAD:Leaves - name: Get Release Info From c4285be81a5681d5ad3eec1ff1d436d28c238b2d Mon Sep 17 00:00:00 2001 From: LittleChest <81231195+LittleChest@users.noreply.github.com> Date: Sat, 17 Feb 2024 23:16:29 +0800 Subject: [PATCH 2/2] fix: Remove pull request trigger --- .github/workflows/leaves.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/leaves.yml b/.github/workflows/leaves.yml index 39c3e0fd..b2c630e7 100644 --- a/.github/workflows/leaves.yml +++ b/.github/workflows/leaves.yml @@ -1,18 +1,8 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - name: Leaves CI on: push: branches: [ master ] - pull_request: - types: [ closed ] - branches: [ master ] workflow_dispatch: jobs: