Skip to content

Commit

Permalink
ci: move reusable workflows to subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jun 11, 2024
1 parent 4ee26ae commit 22a333f
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ concurrency:

jobs:
deploy:
uses: ./.github/workflows/deploy-pr-reusable.yml
uses: ./.github/workflows/reusable/deploy-pr.yml
if: "!github.event.pull_request.repository.fork"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ concurrency:

jobs:
deploy:
uses: ./.github/workflows/deploy-production-reusable.yml
uses: ./.github/workflows/reusable/deploy-production.yml
secrets: inherit
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ concurrency:

jobs:
lint:
uses: ./.github/workflows/lint.yml
uses: ./.github/workflows/reusable/lint.yml
test:
uses: ./.github/workflows/test.yml
uses: ./.github/workflows/reusable/test.yml
e2e:
uses: ./.github/workflows/e2e.yml
uses: ./.github/workflows/reusable/e2e.yml
# Skips forks and dependabot PRs
if: "!github.event.push.repository.fork"
secrets: inherit
release:
needs: [lint, test, e2e]
uses: ./.github/workflows/release.yml
uses: ./.github/workflows/reusable/release.yml
# Skips forks and dependabot PRs
if: "!github.event.push.repository.fork"
secrets: inherit

0 comments on commit 22a333f

Please sign in to comment.