-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: update github files #385
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c043be8
ci: update github files
lotyp 13d84c8
ci: updating workflows
lotyp eba75f1
ci: add markdown lint config
lotyp 7d69f84
docs: lint readme using markdownlint
lotyp 767de29
docs: lint readme using markdownlint
lotyp bb77426
ci: add support for phive
lotyp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// More info: https://github.com/wayofdev/npm-shareable-configs/blob/master/packages/commitlint-config/src/index.js | ||
const automaticCommitPattern = /^chore\(release\):.*\[skip ci]/ | ||
|
||
export default { | ||
extends: ['@commitlint/config-conventional'], | ||
/* | ||
This resolves a linting conflict between commitlint's body-max-line-length | ||
due to @semantic-release/git putting release notes in the commit body | ||
https://github.com/semantic-release/git/issues/331 | ||
*/ | ||
ignores: [(commitMessage) => automaticCommitPattern.test(commitMessage)], | ||
rules: { | ||
'body-leading-blank': [1, 'always'], | ||
'body-max-line-length': [2, 'always', 120], | ||
'footer-leading-blank': [1, 'always'], | ||
'footer-max-line-length': [2, 'always', 120], | ||
'header-max-length': [2, 'always', 100], | ||
'scope-case': [2, 'always', 'lower-case'], | ||
'subject-case': [2, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']], | ||
'subject-empty': [2, 'never'], | ||
'subject-full-stop': [2, 'never', '.'], | ||
'type-case': [2, 'always', 'lower-case'], | ||
'type-empty': [2, 'never'], | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'feat', // New feature | ||
'fix', // Bug fix | ||
'perf', // Performance improvement | ||
'docs', // Documentation changes | ||
'style', // Code style update (formatting, missing semi colons, etc) | ||
'deps', // Dependency updates | ||
'refactor', // Code refactoring | ||
'ci', // Continuous integration changes | ||
'test', // Adding missing tests | ||
'revert', // Revert to a previous commit | ||
'build', // Changes that affect the build system | ||
'chore', // Other changes that don't modify src or test files | ||
'security', // Security improvements | ||
], | ||
], | ||
}, | ||
} |
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,65 @@ | ||
// @see https://cz-git.qbb.sh/config/#configure-template | ||
module.exports = { | ||
alias: { fd: 'docs: fix typos' }, | ||
messages: { | ||
type: 'Select the type of change that you\'re committing:', | ||
scope: 'Denote the SCOPE of this change (optional):', | ||
customScope: 'Denote the SCOPE of this change:', | ||
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n', | ||
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n', | ||
breaking: 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n', | ||
footerPrefixesSelect: 'Select the ISSUES type of changeList by this change (optional):', | ||
customFooterPrefix: 'Input ISSUES prefix:', | ||
footer: 'List any ISSUES by this change. E.g.: #31, #34:\n', | ||
generatingByAI: 'Generating your AI commit subject...', | ||
generatedSelectByAI: 'Select suitable subject by AI generated:', | ||
confirmCommit: 'Are you sure you want to proceed with the commit above?' | ||
}, | ||
types: [ | ||
{ value: 'feat', name: 'feat: A new feature', emoji: ':sparkles:' }, | ||
{ value: 'fix', name: 'fix: A bug fix', emoji: ':bug:' }, | ||
{ value: 'perf', name: 'perf: A code change that improves performance', emoji: ':zap:' }, | ||
{ value: 'docs', name: 'docs: Documentation only changes', emoji: ':memo:' }, | ||
{ value: 'style', name: 'style: Changes that do not affect the meaning of the code', emoji: ':lipstick:' }, | ||
{ value: 'deps', name: 'deps: A dependency update', emoji: ':package:' }, | ||
{ value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature', emoji: ':recycle:' }, | ||
{ value: 'ci', name: 'ci: Changes to our CI configuration files and scripts', emoji: ':ferris_wheel:' }, | ||
{ value: 'test', name: 'test: Adding missing tests or correcting existing tests', emoji: ':white_check_mark:' }, | ||
{ value: 'revert', name: 'revert: Reverts a previous commit', emoji: ':rewind:' }, | ||
{ value: 'build', name: 'build: Changes that affect the build system or external dependencies', emoji: ':package:' }, | ||
{ value: 'chore', name: 'chore: Other changes that don\'t modify src or test files', emoji: ':hammer:' }, | ||
{ value: 'security', name: 'security: A code change that fixes a security issue', emoji: ':lock:' } | ||
], | ||
useEmoji: false, | ||
emojiAlign: 'center', | ||
useAI: false, | ||
aiNumber: 1, | ||
themeColorCode: '', | ||
scopes: [], | ||
allowCustomScopes: true, | ||
allowEmptyScopes: true, | ||
customScopesAlign: 'bottom', | ||
customScopesAlias: 'custom', | ||
emptyScopesAlias: 'empty', | ||
upperCaseSubject: false, | ||
markBreakingChangeMode: false, | ||
allowBreakingChanges: ['feat', 'fix'], | ||
breaklineNumber: 100, | ||
breaklineChar: '|', | ||
skipQuestions: [], | ||
issuePrefixes: [{ value: 'closed', name: 'closed: ISSUES has been processed' }], | ||
customIssuePrefixAlign: 'top', | ||
emptyIssuePrefixAlias: 'skip', | ||
customIssuePrefixAlias: 'custom', | ||
allowCustomIssuePrefix: true, | ||
allowEmptyIssuePrefix: true, | ||
confirmColorize: true, | ||
maxHeaderLength: Infinity, | ||
maxSubjectLength: Infinity, | ||
minSubjectLength: 0, | ||
scopeOverrides: undefined, | ||
defaultBody: '', | ||
defaultIssues: '', | ||
defaultScope: '', | ||
defaultSubject: '' | ||
} |
File renamed without changes.
Validating CODEOWNERS rules …
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,3 @@ | ||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
||
* @lotyp |
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,128 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
We as members, contributors, and leaders pledge to make participation in our | ||
community a harassment-free experience for everyone, regardless of age, body | ||
size, visible or invisible disability, ethnicity, sex characteristics, gender | ||
identity and expression, level of experience, education, socio-economic status, | ||
nationality, personal appearance, race, religion, or sexual identity | ||
and orientation. | ||
|
||
We pledge to act and interact in ways that contribute to an open, welcoming, | ||
diverse, inclusive, and healthy community. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to a positive environment for our | ||
community include: | ||
|
||
* Demonstrating empathy and kindness toward other people | ||
* Being respectful of differing opinions, viewpoints, and experiences | ||
* Giving and gracefully accepting constructive feedback | ||
* Accepting responsibility and apologizing to those affected by our mistakes, | ||
and learning from the experience | ||
* Focusing on what is best not just for us as individuals, but for the | ||
overall community | ||
|
||
Examples of unacceptable behavior include: | ||
|
||
* The use of sexualized language or imagery, and sexual attention or | ||
advances of any kind | ||
* Trolling, insulting or derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or email | ||
address, without their explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Enforcement Responsibilities | ||
|
||
Community leaders are responsible for clarifying and enforcing our standards of | ||
acceptable behavior and will take appropriate and fair corrective action in | ||
response to any behavior that they deem inappropriate, threatening, offensive, | ||
or harmful. | ||
|
||
Community leaders have the right and responsibility to remove, edit, or reject | ||
comments, commits, code, wiki edits, issues, and other contributions that are | ||
not aligned to this Code of Conduct, and will communicate reasons for moderation | ||
decisions when appropriate. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies within all community spaces, and also applies when | ||
an individual is officially representing the community in public spaces. | ||
Examples of representing our community include using an official e-mail address, | ||
posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported to the community leaders responsible for enforcement at | ||
<[email protected]>. | ||
All complaints will be reviewed and investigated promptly and fairly. | ||
|
||
All community leaders are obligated to respect the privacy and security of the | ||
reporter of any incident. | ||
|
||
## Enforcement Guidelines | ||
|
||
Community leaders will follow these Community Impact Guidelines in determining | ||
the consequences for any action they deem in violation of this Code of Conduct: | ||
|
||
### 1. Correction | ||
|
||
**Community Impact**: Use of inappropriate language or other behavior deemed | ||
unprofessional or unwelcome in the community. | ||
|
||
**Consequence**: A private, written warning from community leaders, providing | ||
clarity around the nature of the violation and an explanation of why the | ||
behavior was inappropriate. A public apology may be requested. | ||
|
||
### 2. Warning | ||
|
||
**Community Impact**: A violation through a single incident or series | ||
of actions. | ||
|
||
**Consequence**: A warning with consequences for continued behavior. No | ||
interaction with the people involved, including unsolicited interaction with | ||
those enforcing the Code of Conduct, for a specified period of time. This | ||
includes avoiding interactions in community spaces as well as external channels | ||
like social media. Violating these terms may lead to a temporary or | ||
permanent ban. | ||
|
||
### 3. Temporary Ban | ||
|
||
**Community Impact**: A serious violation of community standards, including | ||
sustained inappropriate behavior. | ||
|
||
**Consequence**: A temporary ban from any sort of interaction or public | ||
communication with the community for a specified period of time. No public or | ||
private interaction with the people involved, including unsolicited interaction | ||
with those enforcing the Code of Conduct, is allowed during this period. | ||
Violating these terms may lead to a permanent ban. | ||
|
||
### 4. Permanent Ban | ||
|
||
**Community Impact**: Demonstrating a pattern of violation of community | ||
standards, including sustained inappropriate behavior, harassment of an | ||
individual, or aggression toward or disparagement of classes of individuals. | ||
|
||
**Consequence**: A permanent ban from any sort of public interaction within | ||
the community. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], | ||
version 2.0, available at | ||
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add "the" before "Mozilla's code of conduct enforcement ladder" for grammatical correctness. - Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
+ Community Impact Guidelines were inspired by [the Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
||
Community Impact Guidelines were inspired by [Mozilla's code of conduct | ||
enforcement ladder](https://github.com/mozilla/diversity). | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see the FAQ at | ||
<https://www.contributor-covenant.org/faq>. Translations are available at | ||
<https://www.contributor-covenant.org/translations>. |
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,5 @@ | ||
--- | ||
|
||
github: wayofdev | ||
|
||
... |
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,105 @@ | ||
--- | ||
|
||
name: 🐞 Bug Report | ||
description: Report an issue to help the project improve. | ||
title: '[Bug]: ' | ||
labels: ['type: bug'] | ||
|
||
assignees: | ||
- lotyp | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: 🐞 **Bug Report** | ||
|
||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the bug | ||
description: Please provide a clear and detailed description of what the bug is. This helps us understand the issue quickly and look for potential fixes. | ||
placeholder: Explain the bug in as much detail as possible... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: regression | ||
attributes: | ||
label: Is this a regression? | ||
description: | | ||
Was this functionality working in a previous version? | ||
If yes, please mention the last version in which it worked properly. | ||
Understanding regressions helps prioritize fixes. | ||
placeholder: Yes or No, and details about the last working version... | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: To Reproduce | ||
description: | | ||
'Please provide step-by-step instructions that reproduce the issue: | ||
1. Use x argument / navigate to... | ||
2. Fill this information... | ||
3. Go to... | ||
4. See error | ||
placeholder: Detailed steps to reproduce the bug... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected-behaviour | ||
attributes: | ||
label: Expected behaviour | ||
description: | | ||
Describe what you expected to happen. | ||
Clear expectations help understand the gap between current and desired states. | ||
placeholder: What did you expect to happen instead of the bug? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: media | ||
attributes: | ||
label: Media prove | ||
description: If applicable, add screenshots or videos to better illustrate the issue. Visual aids can significantly aid in diagnosing problems quicker. | ||
placeholder: Upload files or paste links here... | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: environment | ||
attributes: | ||
label: Your environment | ||
description: | | ||
Provide detailed information about your environment to help us replicate the issue: | ||
* OS: [e.g. Ubuntu] | ||
* PHP version: [e.g. 8.2.2] | ||
* Package version: [e.g. 1.0.0] | ||
* Any relevant environment details | ||
placeholder: List your environment details here... | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional context | ||
description: Include any other context about the problem here, such as unusual system configurations, previous issues, or possible causes. | ||
placeholder: Any additional information that could help us resolve the issue... | ||
validations: | ||
required: false | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
📛 To ensure a smooth issue processing, please check if a similar bug report has already been submitted before creating a new one. | ||
We highly value your contributions, so please make sure to familiarize yourself with our repository's guidelines: | ||
- [Code of Conduct](https://github.com/wayofdev/laravel-starter-tpl/blob/master/.github/CODE_OF_CONDUCT.md) | ||
- [Contribution Guidelines](https://laravel-starter-tpl.wayof.dev/contributing) | ||
|
||
Additionally, consider joining our discussions on: | ||
- [WayOfDev Discord Community](https://discord.gg/CE3TcCC5vr) | ||
|
||
... |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use
Number.Infinity
instead ofInfinity
for better clarity and consistency in JavaScript.Committable suggestion