Skip to content

Commit

Permalink
fixup! ci: refer to workflows by version
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jul 2, 2024
1 parent 606afc7 commit 0bf0bcd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/comment-and-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ on:

jobs:
comment-and-close:
uses: dhis2/workflows-test/.github/workflows/comment-and-close.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/comment-and-close.yml@v1
if: !contains(github.event.issues.sender.login , fromJson('["dhis2-bot", "kodiakhq", "dependabot"]'))
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: dhis2/workflows-test/.github/workflows/deploy-pr.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/deploy-pr.yml@v1
if: '!github.event.pull_request.head.repo.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,7 +11,7 @@ concurrency:

jobs:
deploy:
uses: dhis2/workflows-test/.github/workflows/deploy-production.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/deploy-production.yml@v1
secrets: inherit
with:
branch: master
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: dhis2/workflows-test/.github/workflows/lint-pr-title.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/lint-pr-title.yml@v1
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: dhis2/workflows-test/.github/workflows/lint-commits.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/lint-commits.yml@v1
lint:
uses: dhis2/workflows-test/.github/workflows/lint.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/lint.yml@v1
test:
uses: dhis2/workflows-test/.github/workflows/test.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/test.yml@v1
e2e:
uses: dhis2/workflows-test/.github/workflows/e2e.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/e2e.yml@v1
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
secrets: inherit
release:
needs: [lint, test, e2e]
uses: dhis2/workflows-test/.github/workflows/release.yml@v1.0.0
uses: dhis2/workflows-test/.github/workflows/release.yml@v1
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
secrets: inherit

0 comments on commit 0bf0bcd

Please sign in to comment.