Skip to content

Commit

Permalink
Add basic setup
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jan 11, 2020
0 parents commit 7f9a331
Show file tree
Hide file tree
Showing 33 changed files with 887 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://dependabot.com/docs/config-file/

version: 1

update_configs:
- package_manager: "php:composer"
directory: "/"
automerged_updates:
- match:
dependency_type: "development"
default_assignees:
- "core23"
default_labels:
- "dependency"
default_reviewers:
- "core23"
update_schedule: "daily"
29 changes: 29 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
root = true

[*]
end_of_line = lf
indent_style = space
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.php]
indent_size = 4

[*.twig]
indent_size = 4

[*.{yaml,yml}]
indent_size = 4

[*.{js,scss,css}]
indent_size = 2

[Jenkinsfile]
indent_size = 2

[*.json]
indent_size = 4

[Makefile]
indent_style = tab
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.* export-ignore
Makefile export-ignore
Jenkinsfile export-ignore
phpstan.neon export-ignore
phpunit.xml.dist export-ignore
/docs export-ignore
/tests export-ignore
/vendor-bin export-ignore
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @core23
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github: core23
open_collective: core23
ko_fi: core23
custom: https://donate.core23.de
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: 🐞 Bug Report
about: Something is broken? 🔨
---

<!--
Before you open an issue, make sure this one does not already exist.
-->

<!--
If you are reporting a bug, please try to fill in the following.
Otherwise remove it.
-->

### Environment

#### Packages

```
$ composer show --latest
# Put the result here.
```

#### PHP version

```
$ php -v
# Put the result here.
```

## Subject

<!--
Give here as many details as possible.
Next sections are for ERRORS only.
-->

## Steps to reproduce

## Expected results

## Actual results

<!--
If it's an error message or piece of code, use code block tags,
and make sure you provide the whole stack trace(s),
not just the first error message you can see.
-->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: 🚀 Feature Request
about: I have a suggestion (and may want to implement it)!
---

## Feature Request

<!-- Provide a summary of the feature. -->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/Question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: ❓ Support Question
about: I have a general question 💬!
---

## Question


12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- THE PR TEMPLATE IS NOT AN OPTION. DO NOT DELETE IT, MAKE SURE YOU READ AND EDIT IT! -->

<!--
Specify which issues will be fixed/closed.
Remove it if this is not related.
-->

Closes #{put_issue_number_here}

## Subject

<!-- Describe your Pull Request content here -->
27 changes: 27 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'

categories:
- title: '❌ BC Breaks'
labels:
- 'bc break'
- title: '🚀 Features'
labels:
- 'feature'
- title: '🐛 Bug Fixes'
labels:
- 'bugfix'
- title: '📦 Dependencies'
labels:
- 'dependency'

exclude-labels:
- 'docs'
- 'pedantic'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'

template: |
## Changes
$CHANGES
64 changes: 64 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# These settings are synced to GitHub by https://probot.github.io/apps/settings/

repository:
name: NucleosProfileBundle
description: Registration and profile management for symfony
homepage: https://nucleosprofilebundle.readthedocs.io/
topics: symfony, symfony-bundle, bundle, user, management, profile, registration

default_branch: master
private: false
allow_squash_merge: true
allow_merge_commit: true
allow_rebase_merge: true
has_issues: true
has_pages: false
has_projects: false
has_wiki: false

labels:
- name: automerge
color: ededed
- name: bc break
color: ff0000
- name: bugfix
color: fc2929
- name: dependency
color: 5fb2d8
- name: docs
color: fbca04
- name: feature
color: 0e8a16
- name: help wanted
color: 159818
- name: invalid
color: e6e6e6
- name: pedantic
color: DDDDDD
- name: question
color: cc317c

branches:
- name: master
protection:
enforce_admins: falser
required_status_checks:
contexts:
- "Coding Standards (7.4)"
- "Static Code Analysis (7.4)"
- "Tests (7.3, lowest, ~4.4)"
- "Tests (7.3, lowest, ~5.0)"
- "Tests (7.3, highest, ~4.4)"
- "Tests (7.3, highestf, ~5.0)"
- "Tests (7.4, lowest, ~4.4)"
- "Tests (7.4, lowest, ~5.0)"
- "Tests (7.4, highest, ~4.4)"
- "Tests (7.4, highest, ~5.0)"
- "Code Coverage (7.4)"
- "Mutation Tests (7.4)"
- "Mutation Tests (7.4)"
- "Lint / DOCtor-RST"
strict: true

required_pull_request_reviews: null
restrictions: null

0 comments on commit 7f9a331

Please sign in to comment.