Skip to content

Commit

Permalink
Trigger workflows on push only to main branch (#578)
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Sirish A Yelgundhalli <[email protected]>
  • Loading branch information
adityasaky authored Oct 18, 2024
1 parent 73821e1 commit 1b11c27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: E2E

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

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Verify

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

permissions:
contents: read
Expand Down

0 comments on commit 1b11c27

Please sign in to comment.