From 152d1c7f92f9851f7a224617f99667d7ed04c417 Mon Sep 17 00:00:00 2001 From: John Gemignani Date: Mon, 2 Jun 2025 12:15:02 -0700 Subject: [PATCH] Fix issue with the build and labeler The build now needs to use https:, instead of git: The labeler now requires a new step before running. Modified the following files - .github/workflows/installcheck.yaml .github/workflows/labeler.yml --- .github/workflows/installcheck.yaml | 4 ++-- .github/workflows/labeler.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/installcheck.yaml b/.github/workflows/installcheck.yaml index b96c28547..daa58e7f1 100644 --- a/.github/workflows/installcheck.yaml +++ b/.github/workflows/installcheck.yaml @@ -13,7 +13,7 @@ jobs: steps: - name: Get latest commit id of PostgreSQL 16 run: | - echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_16_STABLE | awk '{print $1}')" >> $GITHUB_ENV + echo "PG_COMMIT_HASH=$(git ls-remote https://git.postgresql.org/git/postgresql.git refs/heads/REL_16_STABLE | awk '{print $1}')" >> $GITHUB_ENV - name: Cache PostgreSQL 16 uses: actions/cache@v3 @@ -30,7 +30,7 @@ jobs: - name: Install PostgreSQL 16 and some extensions if: steps.pg16cache.outputs.cache-hit != 'true' run: | - git clone --depth 1 --branch REL_16_STABLE git://git.postgresql.org/git/postgresql.git ~/pg16source + git clone --depth 1 --branch REL_16_STABLE https://git.postgresql.org/git/postgresql.git ~/pg16source cd ~/pg16source ./configure --prefix=$HOME/pg16 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert make install -j$(nproc) > /dev/null diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 4234e3582..266df4ce9 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -9,6 +9,9 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Apply branch labels uses: actions/labeler@v5.0.0