Skip to content

Commit 5e6405c

Browse files
committed
CI: don't merge into master
We will do this properly in master later (avoiding it only for branches named release-*) but for now we simply suppress it so we can properly test. Signed-off-by: Rusty Russell <[email protected]>
1 parent 0e6f16e commit 5e6405c

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

.github/workflows/bsd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
COMPAT: 1
1919
steps:
2020
- uses: actions/checkout@v2
21+
with:
22+
ref: ${{ github.event.pull_request.head.sha }}
2123
- name: Test in FreeBSD
2224
id: test
2325
uses: vmactions/[email protected]

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v3
33+
with:
34+
ref: ${{ github.event.pull_request.head.sha }}
3335

3436
- name: Set up Python 3.7
3537
uses: actions/setup-python@v4
@@ -69,6 +71,8 @@ jobs:
6971
steps:
7072
- name: Checkout
7173
uses: actions/checkout@v3
74+
with:
75+
ref: ${{ github.event.pull_request.head.sha }}
7276

7377
- name: Set up Python 3.7
7478
uses: actions/setup-python@v4
@@ -106,6 +110,8 @@ jobs:
106110
steps:
107111
- name: Checkout
108112
uses: actions/checkout@v3
113+
with:
114+
ref: ${{ github.event.pull_request.head.sha }}
109115

110116
- name: Set up Python 3.7
111117
uses: actions/setup-python@v4
@@ -161,6 +167,8 @@ jobs:
161167
steps:
162168
- name: Checkout
163169
uses: actions/checkout@v3
170+
with:
171+
ref: ${{ github.event.pull_request.head.sha }}
164172

165173
- name: Set up Python 3.7
166174
uses: actions/setup-python@v4
@@ -268,6 +276,8 @@ jobs:
268276
steps:
269277
- name: Checkout
270278
uses: actions/checkout@v3
279+
with:
280+
ref: ${{ github.event.pull_request.head.sha }}
271281

272282
- name: Set up Python 3.7
273283
uses: actions/setup-python@v4
@@ -347,6 +357,8 @@ jobs:
347357
steps:
348358
- name: Checkout
349359
uses: actions/checkout@v3
360+
with:
361+
ref: ${{ github.event.pull_request.head.sha }}
350362

351363
- name: Set up Python 3.7
352364
uses: actions/setup-python@v4

.github/workflows/macos.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/[email protected]
20+
with:
21+
ref: ${{ github.event.pull_request.head.sha }}
2022

2123
- name: Install dependencies
2224
run: |

.github/workflows/prototest.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3
22+
with:
23+
ref: ${{ github.event.pull_request.head.sha }}
2224
- name: Build and run
2325
run: |
2426
docker build -f contrib/docker/Dockerfile.ubuntu -t cln-ci-ubuntu .

.github/workflows/pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@master
3939
with:
40+
ref: ${{ github.event.pull_request.head.sha }}
4041
# Need to fetch entire history in order to locate the version tag
4142
fetch-depth: 0
4243

0 commit comments

Comments
 (0)