Skip to content

Commit

Permalink
fix: tests run twice when submitting a PR (#368)
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <[email protected]>
  • Loading branch information
zhaohuabing authored Jul 30, 2023
1 parent 077d52a commit f7c39a2
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 5 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/e2e-metaprotocol-gateway.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
---
name: e2e-metaprotocolgateway

on: [push, pull_request]
on:
push:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"
pull_request:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"

env:
ISTIO_VERSION: 1.16.5
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/e2e-metaprotocol.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
---
name: e2e-metaprotocol

on: [push, pull_request]
on:
push:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"
pull_request:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"

env:
ISTIO_VERSION: 1.16.5
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/e2e-redis.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
---
name: e2e-redis

on: [push, pull_request]
on:
push:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"
pull_request:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"

env:
ISTIO_VERSION: 1.16.5
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/license-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,21 @@
---
name: License checker

on: [pull_request, push]

on:
push:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"
pull_request:
branches:
- "master"
- "release/v*"
paths-ignore:
- "**/*.png"
- "**/*.md"

jobs:
check-license:
Expand Down

0 comments on commit f7c39a2

Please sign in to comment.