Skip to content

Commit 999464f

Browse files
committed
Fix issue with the CI build and labeler (#2183)
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
1 parent 0f22400 commit 999464f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/installcheck.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Get latest commit id of PostgreSQL 14
1515
run: |
16-
echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_14_STABLE | awk '{print $1}')" >> $GITHUB_ENV
16+
echo "PG_COMMIT_HASH=$(git ls-remote https://git.postgresql.org/git/postgresql.git refs/heads/REL_14_STABLE | awk '{print $1}')" >> $GITHUB_ENV
1717
1818
- name: Cache PostgreSQL 14
1919
uses: actions/cache@v3
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install PostgreSQL 14 and some extensions
3131
if: steps.pg14cache.outputs.cache-hit != 'true'
3232
run: |
33-
git clone --depth 1 --branch REL_14_STABLE git://git.postgresql.org/git/postgresql.git ~/pg14source
33+
git clone --depth 1 --branch REL_14_STABLE https://git.postgresql.org/git/postgresql.git ~/pg14source
3434
cd ~/pg14source
3535
./configure --prefix=$HOME/pg14 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
3636
make install -j$(nproc) > /dev/null

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
1215
- name: Apply branch labels
1316
uses: actions/[email protected]
1417

0 commit comments

Comments
 (0)