Skip to content

Commit 78de4c0

Browse files
committed
Try reverting to old format we used with workflow for now.
1 parent 2e54efc commit 78de4c0

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: Build
22

33
on:
4-
- push
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
workflow_call:
59

610
jobs:
711
build:

.github/workflows/run.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Run
22

33
on:
4-
workflow_run:
5-
workflows: ["Build"]
6-
types: [completed]
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
78

89
jobs:
10+
reuse_build:
11+
uses: gamemann/XDP-Firewall/.github/workflows/build.yml@master
912
run:
13+
needs: reuse_build
1014
runs-on: ubuntu-latest
1115

1216
steps:

0 commit comments

Comments
 (0)