Skip to content

Commit

Permalink
fix: trigger from workflow call
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Mar 28, 2024
1 parent 1307a06 commit 88b6969
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/on-master-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
name: Lint
uses: ./.github/workflows/lint-go.yaml

run-e2e-tests:
name: Run E2E Tests
uses: ./.github/workflows/test-e2e.yaml

generate-tags:
name: Generate Docker Tags
runs-on: ubuntu-latest
Expand All @@ -34,6 +38,7 @@ jobs:
secrets: inherit
needs:
- run-unit-tests
- run-e2e-tests
- generate-tags
- lint
permissions:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
name: Run Unit Tests
uses: ./.github/workflows/test.yaml

run-e2e-tests:
name: Run E2E Tests
uses: ./.github/workflows/test-e2e.yaml

lint:
name: Lint
uses: ./.github/workflows/lint-go.yaml
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: E2E Tests

on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_call:

jobs:
build-docker-image:
Expand Down

0 comments on commit 88b6969

Please sign in to comment.