Skip to content

Commit 15e1f44

Browse files
committed
only build on master push
1 parent 0d1146d commit 15e1f44

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
name: Build-CI
22

3-
on: [pull_request_target, push]
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
jobs:
69

7-
approve: # First step
8-
runs-on: ubuntu-latest
9-
10-
steps:
11-
- name: Approve
12-
run: echo For security reasons, all pull requests to this repository need to be approved first before running any automated CI.
13-
1410
build:
1511
runs-on: ubuntu-latest
16-
17-
needs: [approve] # Require the first step to finish
1812
environment:
1913
name: IO
2014
steps:

0 commit comments

Comments
 (0)