Skip to content

Commit 59d61f0

Browse files
committed
run build container when PR is created and rebased
1 parent bcf4f80 commit 59d61f0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build container using the PR
2+
3+
on:
4+
pull_request_target:
5+
types: [ opened, synchronize ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Checkout Pull Request Branch
15+
uses: actions/checkout@v4
16+
with:
17+
ref: ${{ github.event.pull_request.head.sha }}
18+
19+
- name: Run make build
20+
run: make build

0 commit comments

Comments
 (0)