Skip to content

Commit

Permalink
Fix CI to run twice (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanueleGallone authored Mar 8, 2022
1 parent 5d95a02 commit 6c30707
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
# Copyright 2022-present Open Networking Foundation

name: golangci-lint
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
golangci:
name: lint
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
# Copyright 2022-present Open Networking Foundation

name: Publish pfcpsim
on: [pull_request, push]
on:
push:
branches:
- main
pull_request:

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

name: REUSE

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
lint:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

name: Unit tests

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
unit-test:
Expand Down

0 comments on commit 6c30707

Please sign in to comment.