gnucash-on-windows future: Workflows: Checkout the event's sha if there is one, otherwise future

John Ralls jralls at code.gnucash.org
Tue Aug 25 16:26:01 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/1279bd5e (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/6d79ebaa (commit)



commit 1279bd5e889256c1432de80689388326922fee67
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Aug 25 12:30:27 2026 -0700

    Workflows: Checkout the event's sha if there is one, otherwise future
    
    Instead of the default behavior of otherwise checking out the default
    branch.

diff --git a/.github/workflows/build-ucrt64-aqbanking.yml b/.github/workflows/build-ucrt64-aqbanking.yml
index 5d08866..b78f1a0 100644
--- a/.github/workflows/build-ucrt64-aqbanking.yml
+++ b/.github/workflows/build-ucrt64-aqbanking.yml
@@ -38,7 +38,9 @@ jobs:
         shell: msys2 {0}
 
     steps:
-      - uses: actions/checkout at v6
+      - uses: actions/checkout at v7
+        with:
+          ref: ${{ github.sh || 'future' }}
 
       - uses: msys2/setup-msys2 at v2
         with:
diff --git a/.github/workflows/build-ucrt64-guile3.yml b/.github/workflows/build-ucrt64-guile3.yml
index 5fbd651..eb8b401 100644
--- a/.github/workflows/build-ucrt64-guile3.yml
+++ b/.github/workflows/build-ucrt64-guile3.yml
@@ -35,7 +35,9 @@ jobs:
         shell: msys2 {0}
 
     steps:
-      - uses: actions/checkout at v6
+      - uses: actions/checkout at v7
+        with:
+          ref: ${{ github.sh || 'future' }}
 
       - uses: msys2/setup-msys2 at v2
         with:
diff --git a/.github/workflows/build-ucrt64-libdbi.yml b/.github/workflows/build-ucrt64-libdbi.yml
index 8206659..559f619 100644
--- a/.github/workflows/build-ucrt64-libdbi.yml
+++ b/.github/workflows/build-ucrt64-libdbi.yml
@@ -36,7 +36,9 @@ jobs:
         shell: msys2 {0}
 
     steps:
-      - uses: actions/checkout at v6
+      - uses: actions/checkout at v7
+        with:
+          ref: ${{ github.sh || 'future' }}
 
       - uses: msys2/setup-msys2 at v2
         with:
diff --git a/.github/workflows/build-ucrt64-libofx.yml b/.github/workflows/build-ucrt64-libofx.yml
index 588d940..7b4420e 100644
--- a/.github/workflows/build-ucrt64-libofx.yml
+++ b/.github/workflows/build-ucrt64-libofx.yml
@@ -36,7 +36,9 @@ jobs:
         shell: msys2 {0}
 
     steps:
-      - uses: actions/checkout at v6
+      - uses: actions/checkout at v7
+        with:
+          ref: ${{ github.sh || 'future' }}
 
       - uses: msys2/setup-msys2 at v2
         with:
diff --git a/.github/workflows/build-ucrt64-swig.yml b/.github/workflows/build-ucrt64-swig.yml
index 264e350..ac787e2 100644
--- a/.github/workflows/build-ucrt64-swig.yml
+++ b/.github/workflows/build-ucrt64-swig.yml
@@ -35,7 +35,9 @@ jobs:
         shell: msys2 {0}
 
     steps:
-      - uses: actions/checkout at v6
+      - uses: actions/checkout at v7
+        with:
+          ref: ${{ github.sh || 'future' }}
 
       - uses: msys2/setup-msys2 at v2
         with:
diff --git a/.github/workflows/gnucash-ucrt64-nightly.yml b/.github/workflows/gnucash-ucrt64-nightly.yml
index 16d205f..3843255 100644
--- a/.github/workflows/gnucash-ucrt64-nightly.yml
+++ b/.github/workflows/gnucash-ucrt64-nightly.yml
@@ -36,6 +36,7 @@ jobs:
         - name: Checkout our inno_setup and extra_dist directories
           uses: actions/checkout at v7
           with:
+            ref: ${{ github.sh || 'future' }}
             sparse-checkout: |
                 extra_dist
                 inno_setup



Summary of changes:
 .github/workflows/build-ucrt64-aqbanking.yml | 4 +++-
 .github/workflows/build-ucrt64-guile3.yml    | 4 +++-
 .github/workflows/build-ucrt64-libdbi.yml    | 4 +++-
 .github/workflows/build-ucrt64-libofx.yml    | 4 +++-
 .github/workflows/build-ucrt64-swig.yml      | 4 +++-
 .github/workflows/gnucash-ucrt64-nightly.yml | 1 +
 6 files changed, 16 insertions(+), 5 deletions(-)



More information about the gnucash-changes mailing list