Skip to content

Commit

Permalink
build: avoid duplicated CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 30, 2023
1 parent fc2c62f commit 6264003
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build

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

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: coverage

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

jobs:
coverage:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-soft.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: lint-soft

on:
push:
branches:
- "main"
pull_request:

permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: lint

on:
push:
branches:
- "main"
pull_request:

permissions:
Expand Down

0 comments on commit 6264003

Please sign in to comment.