Skip to content

Commit

Permalink
ci: move reusable workflows to separate test repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jul 8, 2024
1 parent dea2794 commit b9e84bd
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 223 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/comment-and-close-reusable.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/comment-and-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ on:

jobs:
comment-and-close:
uses: ./.github/workflows/comment-and-close-reusable.yml
uses: dhis2/workflows-test/.github/workflows/comment-and-close.yml@main
if: !contains(github.event.issues.sender.login , fromJson('["dhis2-bot", "kodiakhq", "dependabot"]'))
37 changes: 0 additions & 37 deletions .github/workflows/deploy-pr-reusable.yml

This file was deleted.

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: dhis2/workflows-test/.github/workflows/deploy-pr.yml@main
if: '!github.event.pull_request.repository.fork'
secrets: inherit
38 changes: 0 additions & 38 deletions .github/workflows/deploy-production-reusable.yml

This file was deleted.

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: dhis2/workflows-test/.github/workflows/deploy-production.yml@main
secrets: inherit
28 changes: 0 additions & 28 deletions .github/workflows/e2e.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/lint-commits.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/lint-pr-title-reusable.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ concurrency:

jobs:
lint-pr-title:
uses: ./.github/workflows/lint-pr-title-reusable.yml
uses: dhis2/workflows-test/.github/workflows/lint-pr-title.yml@main
15 changes: 0 additions & 15 deletions .github/workflows/lint.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/release.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ concurrency:

jobs:
lint-commits:
uses: ./.github/workflows/lint-commits.yml
uses: dhis2/workflows-test/.github/workflows/lint-commits.yml@main
lint:
uses: ./.github/workflows/lint.yml
uses: dhis2/workflows-test/.github/workflows/lint.yml@main
test:
uses: ./.github/workflows/test.yml
uses: dhis2/workflows-test/.github/workflows/test.yml@main
e2e:
uses: ./.github/workflows/e2e.yml
uses: dhis2/workflows-test/.github/workflows/e2e.yml@main
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
secrets: inherit
release:
needs: [lint, test, e2e]
uses: ./.github/workflows/release.yml
uses: dhis2/workflows-test/.github/workflows/release.yml@main
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
secrets: inherit
15 changes: 0 additions & 15 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit b9e84bd

Please sign in to comment.