commit:     735b8ad20bde1a110e5653563e968ab429388ec9
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Sat Dec 20 19:54:46 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 19:54:46 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=735b8ad2

Surface the sha1 of the gentoo-x86 repo we're testing against.

Knowing the sha1 is how we can reproduce any test failures, whilst
also knowing if we should ignore it due to gentoo-x86 momentarily being
horked.

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 .github/workflows/test.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index af35e60c..6fffc078 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -168,6 +168,12 @@ jobs:
         repository: gentoo/gentoo
         path: gentoo
 
+    - name: Collect gentoo sha1
+      run: |
+        rev=$(git --git-dir gentoo/.git/ rev-parse HEAD)
+        echo "sha1 is $rev"
+        echo "GENTOO_SHA1=${rev}" >> "$GITHUB_ENV"
+
     - name: Set up Python 3.13
       uses: actions/setup-python@v5
       with:
@@ -178,6 +184,6 @@ jobs:
         python -m pip install --upgrade pip
         pip install "./pkgcore"
 
-    - name: Run pmaint regen
+    - name: Run pmaint regen against ${{ env.GENTOO_SHA1 }}
       working-directory: ./gentoo
       run: pmaint regen --use-local-desc --pkg-desc-index --rsync --force .

Reply via email to