Skip to content

Commit 735b461

Browse files
run build container when PR is created and rebased (#174) (#252)
updates! ed3320a Co-authored-by: Debarati Basu-Nag <dbasunag@redhat.com>
1 parent 0f46da8 commit 735b461

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:
5+
types: [ opened, synchronize, reopened ]
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)