Skip to content

Commit

Permalink
Merge pull request #137 from wayofdev/ci/e2e-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp authored Jun 5, 2024
2 parents 2966f18 + efab7a3 commit b9ffb23
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* @lotyp
46 changes: 24 additions & 22 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,15 @@ Refer to the output of `make help` for a comprehensive list of available command

Our project employs [GitHub Actions](https://github.com/features/actions) for continuous integration, ensuring code quality and reliability. We encourage contributors to review our workflow configurations to understand the CI processes:

- [`workflows/apply-labels.yml`](workflows/apply-labels.yml)
- [`workflows/auto-merge-release.yml`](workflows/auto-merge-release.yml)
- [`workflows/coding-standards.yml`](workflows/coding-standards.yml)
- [`workflows/create-release.yml`](workflows/create-release.yml)
- [`workflows/e2e-macos.yml`](workflows/e2e-macos.yml)**Currently disabled**
- [`workflows/e2e-ubuntu.yml`](workflows/e2e-ubuntu.yml)**Currently disabled**
- [`workflows/shellcheck.yml`](workflows/shellcheck.yml)
| Workflow | Description |
|--------------------------------------------------------------|----------------------------------------------------|
| [`apply-labels.yml`](workflows/apply-labels.yml) | Auto labels PRs based on rules. |
| [`auto-merge-release.yml`](workflows/auto-merge-release.yml) | Automatically merges release PRs. |
| [`coding-standards.yml`](workflows/coding-standards.yml) | Checks `yaml`, `md` and commit coding standards. |
| [`create-release.yml`](workflows/create-release.yml) | Creates a new release based on tags. |
| [`e2e-macos.yml`](workflows/e2e-macos.yml) | End-to-end tests on macOS. **Currently disabled** |
| [`e2e-ubuntu.yml`](workflows/e2e-ubuntu.yml) | End-to-end tests on Ubuntu. **Currently disabled** |
| [`shellcheck.yml`](workflows/shellcheck.yml) | Lints shell scripts. |

<br>

Expand All @@ -105,21 +107,21 @@ git commit -am 'fix: something has been fixed'

**Allowed Prefixes:**

| Prefix | Purpose |
|------------|---------------------------------------------------------------|
| `feat` | Introduces a new feature |
| `fix` | Fixes a bug |
| `perf` | Improves performance |
| `docs` | Documentation only changes |
| `style` | Code style changes (formatting, missing semi-colons, etc.) |
| `deps` | Updates dependencies |
| `refactor` | Code changes that neither fixes a bug nor adds a feature |
| `ci` | Changes to our CI configuration files and scripts |
| `test` | Adding missing tests or correcting existing tests |
| `revert` | Reverts a previous commit |
| `build` | Changes that affect the build system or external dependencies |
| `chore` | Other changes that don't modify src or test files |
| `security` | A code change that fixes a security issue |
| Prefix | Purpose |
|-------------|---------------------------------------------------------------|
| `feat:` | Introduces a new feature |
| `fix:` | Fixes a bug |
| `perf:` | Improves performance |
| `docs:` | Documentation only changes |
| `style:` | Code style changes (formatting, missing semi-colons, etc.) |
| `deps:` | Updates dependencies |
| `refactor:` | Code changes that neither fixes a bug nor adds a feature |
| `ci:` | Changes to our CI configuration files and scripts |
| `test:` | Adding missing tests or correcting existing tests |
| `revert:` | Reverts a previous commit |
| `build:` | Changes that affect the build system or external dependencies |
| `chore:` | Other changes that don't modify src or test files |
| `security:` | A code change that fixes a security issue |

<br>

Expand Down
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:base",
":semanticCommitTypeAll(ci)"
],
"automerge": true,
"platformAutomerge": true
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ help:
all: hooks env up
PHONY: all


#
# System Actions
# ------------------------------------------------------------------------------------
env: ## Generate .env file from example, use `make env force=true`, to force re-create file
Expand Down Expand Up @@ -219,6 +219,6 @@ test: ## Run self-tests using dcgoss
#
# Release
# ------------------------------------------------------------------------------------
commit:
commit: ## Run commitizen to create commit message
czg commit --config="./.github/.cz.config.js"
.PHONY: commit

0 comments on commit b9ffb23

Please sign in to comment.