Skip to content

Commit

Permalink
feat(ci): only run on push events to prevent duplicate pipelines
Browse files Browse the repository at this point in the history
Signed-off-by: Niklas Treml <[email protected]>
  • Loading branch information
niklastreml committed Aug 5, 2024
1 parent b58d300 commit 61c0564
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Continuous Integration

on:
push:
pull_request:

permissions:
contents: write
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/e2e_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: E2E - Test checks

on:
push:
branches:
- main
pull_request:

permissions:
contents: read
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/end2end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
name: End2End Testing
on:
push:
pull_request:

jobs:
end2end:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: pre-commit.ci

on: [push, pull_request]
on:
push:

jobs:
pre-commit:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Test - SAST

on:
push:
pull_request:

permissions:
contents: read
Expand All @@ -21,4 +20,4 @@ jobs:
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...
args: ./...
1 change: 0 additions & 1 deletion .github/workflows/test_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Test - Unit

on:
push:
pull_request:

permissions:
contents: read
Expand Down

0 comments on commit 61c0564

Please sign in to comment.