Skip to content

Commit

Permalink
ci: refer to workflows by version
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jul 8, 2024
1 parent 70c3879 commit a635413
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 @@ -4,5 +4,5 @@ on:

jobs:
comment-and-close:
uses: dhis2/workflows-test/.github/workflows/comment-and-close.yml@main
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@main
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@main
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@main
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@main
uses: dhis2/workflows-test/.github/workflows/lint-commits.yml@v1
lint:
uses: dhis2/workflows-test/.github/workflows/lint.yml@main
uses: dhis2/workflows-test/.github/workflows/lint.yml@v1
test:
uses: dhis2/workflows-test/.github/workflows/test.yml@main
uses: dhis2/workflows-test/.github/workflows/test.yml@v1
e2e:
uses: dhis2/workflows-test/.github/workflows/e2e.yml@main
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@main
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 a635413

Please sign in to comment.