-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194: ci: auto apply labels based on files and bra…
…nches
- Loading branch information
Showing
18 changed files
with
176 additions
and
18 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
File renamed without changes.
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,3 +1,7 @@ | ||
--- | ||
|
||
# These are supported funding model platforms | ||
|
||
github: cycle | ||
|
||
... |
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
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,6 +1,10 @@ | ||
--- | ||
|
||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
- name: ❓ Start a discussion or ask a question. | ||
url: https://github.com/cycle/orm/discussions | ||
about: Please ask and answer questions here. | ||
|
||
... |
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
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,37 @@ | ||
--- | ||
|
||
# This file is for the labeler workflow job | ||
# Documentation https://github.com/marketplace/actions/labeler | ||
|
||
"type: feature": | ||
- head-branch: ['^feature', '^feat', 'feature'] | ||
|
||
"type: documentation": | ||
- changed-files: | ||
- any-glob-to-any-file: ['./*.md'] | ||
|
||
"type: test": | ||
- changed-files: | ||
- any-glob-to-any-file: ['tests/**/*'] | ||
|
||
"type: maintenance": | ||
- changed-files: | ||
- any-glob-to-any-file: ['.github/**/*.yml', '*.yml', '*.json', '*.xml'] | ||
|
||
"mysql": | ||
- changed-files: | ||
- any-glob-to-any-file: ['src/Driver/MySQL/**/*', 'src/Config/MySQL/*'] | ||
|
||
"postgres": | ||
- changed-files: | ||
- any-glob-to-any-file: ['src/Driver/Postgres/**/*', 'src/Config/Postgres/*'] | ||
|
||
"sqlite": | ||
- changed-files: | ||
- any-glob-to-any-file: ['src/Driver/SQLite/**/*', 'src/Config/SQLite/*'] | ||
|
||
"sqlserver": | ||
- changed-files: | ||
- any-glob-to-any-file: ['src/Driver/SQLServer/**/*', 'src/Config/SQLServer/*'] | ||
|
||
... |
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,23 @@ | ||
--- | ||
|
||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler/blob/master/README.md | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
|
||
name: 🏷️ Add labels | ||
|
||
jobs: | ||
label: | ||
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@master | ||
with: | ||
os: ubuntu-latest | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
... |
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
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
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
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
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
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,3 +1,5 @@ | ||
--- | ||
|
||
checks: | ||
php: true | ||
|
||
|
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
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,56 @@ | ||
--- | ||
|
||
extends: default | ||
|
||
ignore: | | ||
.build/ | ||
vendor/ | ||
# Overwrite above default rules | ||
rules: | ||
braces: | ||
# Defaults | ||
# min-spaces-inside: 0 | ||
# max-spaces-inside: 0 | ||
|
||
# Keep 0 min-spaces to not error on empty {} collection definitions | ||
min-spaces-inside: 0 | ||
|
||
# Allow one space inside braces to improve code readability | ||
max-spaces-inside: 1 | ||
|
||
brackets: | ||
# Defaults | ||
# min-spaces-inside: 0 | ||
# max-spaces-inside: 0 | ||
|
||
# Keep 0 min-spaces to not error on empty [] collection definitions | ||
min-spaces-inside: 0 | ||
|
||
# Allow one space inside braces to improve code readability | ||
max-spaces-inside: 1 | ||
|
||
colons: | ||
# Defaults | ||
# min-spaces-before: 0 | ||
# max-spaces-after: 1 | ||
|
||
# Allow multiple spaces after a colon to allow indentation of YAML | ||
# dictionary values | ||
max-spaces-after: -1 | ||
|
||
commas: | ||
# Defaults | ||
# max-spaces-after: 1 | ||
|
||
# Allow multiple spaces after a comma to allow indentation of YAML | ||
# dictionary values | ||
max-spaces-after: -1 | ||
|
||
comments: | ||
require-starting-space: true | ||
min-spaces-from-content: 1 | ||
|
||
line-length: disable | ||
|
||
... |
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
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