8000 Trying to make github actions run on pull requests · sysfce2/python-json-logger@7c00897 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c00897

Browse files
authored
Trying to make github actions run on pull requests
1 parent 705fe99 commit 7c00897

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
name: Test python-json-logger
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
inputs:
9+
logLevel:
10+
description: 'Log level'
11+
required: true
12+
default: 'warning'
13+
type: choice
14+
options:
15+
- info
16+
- warning
17+
- debug
18+
pull_request:
19+
types: [opened, reopened]
420

521
jobs:
622
test:

0 commit comments

Comments
 (0)
0