-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add new workflows * ci: remove netlify deploy workflows The netlify tokens are missing. We'll need to add those first and then revisit this
- Loading branch information
ismay
authored
Aug 5, 2024
1 parent
4f6cd8a
commit e3c3a1e
Showing
6 changed files
with
41 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
name: comment-and-close | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
comment-and-close: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: vardevs/candc@v1 | ||
with: | ||
close-comment: 'If you would like to file a bug report or feature request, please refer to our issue tracker: https://jira.dhis2.org' | ||
exempt-users: dhis2-bot,dependabot,kodiakhq | ||
github-token: ${{secrets.DHIS2_BOT_GITHUB_TOKEN}} | ||
uses: dhis2/workflows-platform/.github/workflows/comment-and-close.yml@v1 | ||
if: '!contains(github.event.issue.sender.login , fromJson(''["dhis2-bot", "kodiakhq", "dependabot"]''))' | ||
with: | ||
issue_number: ${{ github.event.issue.number }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: lint-pr-title | ||
|
||
on: | ||
pull_request: | ||
types: ['opened', 'edited', 'reopened', 'synchronize'] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint-pr-title: | ||
uses: dhis2/workflows-platform/.github/workflows/lint-pr-title.yml@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: test-and-release | ||
|
||
on: push | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
# Cancel previous runs if not on a release branch | ||
cancel-in-progress: ${{ !contains(github.ref, fromJSON('["master", "main"]')) }} | ||
|
||
jobs: | ||
lint-commits: | ||
uses: dhis2/workflows-platform/.github/workflows/lint-commits.yml@v1 | ||
lint: | ||
uses: dhis2/workflows-platform/.github/workflows/lint.yml@v1 | ||
test: | ||
uses: dhis2/workflows-platform/.github/workflows/test.yml@v1 | ||
release: | ||
needs: [lint-commits, lint, test] | ||
uses: dhis2/workflows-platform/.github/workflows/release.yml@v1 | ||
# Skips forks and dependabot PRs | ||
if: '!github.event.push.repository.fork' | ||
secrets: inherit |