Skip to content

Commit

Permalink
pipelines:bugfix - now it runs when a PR or push is sent to main (#455)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Cardoso <[email protected]>
  • Loading branch information
iancardosozup authored Nov 30, 2021
1 parent a36784d commit d06e752
Show file tree
Hide file tree
Showing 11 changed files with 77 additions and 12 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/analytic-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Analytic
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/api-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Api
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/auth-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Auth
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/core-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Core
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/e2e-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
# limitations under the License.

name: Tests e2e
on: ["push"]

on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
e2e-auth-horusec:
runs-on: ubuntu-latest
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: License
on: [ "push" ]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
license:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/manager-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Manager
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint-coverage-build-security:
runs-on: ubuntu-latest
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/messages-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Messages
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/migrations-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Migrations
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
build-and-security:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/vulnerability-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Vulnerability
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/webhook-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# limitations under the License.

name: Webhook
on: ["push"]
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
lint-coverage-build-security:
Expand Down

0 comments on commit d06e752

Please sign in to comment.