Skip to content

Commit

Permalink
Merge eab80bc into aa426b0
Browse files Browse the repository at this point in the history
  • Loading branch information
pvsaintpe committed Dec 22, 2020
2 parents aa426b0 + eab80bc commit ba11c90
Show file tree
Hide file tree
Showing 13 changed files with 227 additions and 134 deletions.
18 changes: 18 additions & 0 deletions .github/assignee.config.yml
@@ -0,0 +1,18 @@
addReviewers: true

numberOfReviewers: 1

reviewers:
- pvsaitpe
- zlob

addAssignees: true

assignees:
- pvsaintpe

numberOfAssignees: 1

skipKeywords:
- wip
- draft
16 changes: 0 additions & 16 deletions .github/auto_assign.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,14 @@
version: 2

updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
reviewers:
- pvsaintpe
assignees:
- pvsaintpe
labels:
- type:build
18 changes: 10 additions & 8 deletions .github/labeler.yml → .github/labeler.config.yml
@@ -1,5 +1,5 @@
type:build:
- ".github/**"
- ".github/**/*"
- ".coveralls.yml"
- "phpunit.github.xml"
- ".gitignore"
Expand All @@ -8,33 +8,35 @@ type:build:
- "composer.lock"

type:helpers:
- "src/Helpers/*"
- "src/Helpers/**/*"

type:indexes:
- "src/Compilers/Traits/WheresBuilder.php"
- "src/Compilers/CheckCompiler.php"
- "src/Compilers/ExcludeCompiler.php"
- "src/Compilers/UniqueCompiler.php"
- "src/Schema/Builders/Indexes/*"
- "src/Schema/Builders/Constraints/*"
- "src/Schema/Builders/Indexes/**/*"
- "src/Schema/Builders/Constraints/**/*"
- "src/Schema/Builders/WhereBuilderTrait.php"
- "src/Schema/Definitions/CheckDefinition.php"
- "src/Schema/Definitions/ExcludeDefinition.php"
- "src/Schema/Definitions/UniqueDefinition.php"
-

type:routines:
- "src/Compilers/Routines/**/*"
- "src/Schema/Builders/Routines/**/*"
- "src/Schema/Definitions/Routines/**/*"

type:schema:
- "src/Schema/*"
- "src/Schema/**/*"

type:compilers:
- "src/Compilers/*"
- "src/Compilers/**/*"

type:tests:
- any: ['tests/**/*', 'phpunit.xml.dist', 'tests.sh']
- 'tests/**/*'
- 'phpunit.xml.dist'
- 'tests.sh'

theme:docs:
- "README.md"
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/auto_approve.yml
@@ -0,0 +1,14 @@
on: pull_request_review
name: 'Label approved pull requests'
jobs:
labelWhenApproved:
name: 'Label when approved'
runs-on: ubuntu-latest
steps:
- name: 'Label when approved'
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "approved"
REMOVE_LABEL: "awaiting review"
@@ -1,4 +1,4 @@
name: 'Auto Assignee'
name: 'Auto assign assignees or reviewers'
on: pull_request

jobs:
Expand All @@ -8,4 +8,4 @@ jobs:
steps:
- uses: kentaro-m/auto-assign-action@v1.1.2
with:
configuration-path: ".github/auto_assign.yml"
configuration-path: ".github/assignee.config.yml"
Expand Up @@ -11,3 +11,4 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
configuration-path: ".github/labeler.config.yml"
38 changes: 38 additions & 0 deletions .github/workflows/auto_merge.yml
@@ -0,0 +1,38 @@
name: 'Auto merge of approved pull requests with passed checks'

on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}

jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: 'Automerge PR'
uses: "pascalgn/automerge-action@v0.12.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: 'squash'
MERGE_LABELS: "approved,!work in progress"
MERGE_REMOVE_LABELS: "approved"
MERGE_COMMIT_MESSAGE: "pull-request-description"
MERGE_RETRIES: "6"
MERGE_RETRY_SLEEP: "10000"
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"
MERGE_DELETE_BRANCH: true
17 changes: 17 additions & 0 deletions .github/workflows/auto_tagging.yml
@@ -0,0 +1,17 @@
name: Bump version
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Bump version and push tag
uses: anothrNick/github-tag-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_OWNER: umbrellio
WITH_V: false
VERBOSE: true
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -160,6 +160,7 @@ jobs:
coverage: pcov
tools: 'phpunit'
- name: 'Install PHP dependencies with Composer'
continue-on-error: ${{ matrix.experimental }}
run: |
rm composer.lock
composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -4,6 +4,10 @@
[![Coverage Status](https://coveralls.io/repos/github/umbrellio/laravel-pg-extensions/badge.svg?branch=master)](https://coveralls.io/github/umbrellio/laravel-pg-extensions?branch=master)
[![Latest Stable Version](https://poser.pugx.org/umbrellio/laravel-pg-extensions/v/stable.png)](https://packagist.org/packages/umbrellio/laravel-pg-extensions)
[![Total Downloads](https://poser.pugx.org/umbrellio/laravel-pg-extensions/downloads.png)](https://packagist.org/packages/umbrellio/laravel-pg-extensions)
[![Code Intelligence Status](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)
[![Build Status](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/badges/build.png?b=master)](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/build-status/master)
[![Code Coverage](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/umbrellio/laravel-pg-extensions/?branch=master)

This project extends Laravel`s database layer to allow use specific Postgres features without raw queries.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -15,7 +15,7 @@
],
"require": {
"php": "^7.2|^7.3|^7.4|^8.0",
"doctrine/dbal": "^2.9|^3.0",
"doctrine/dbal": "^2.9",
"laravel/framework": "^5.8|^6.0|^7.0|^8.0"
},
"require-dev": {
Expand Down

0 comments on commit ba11c90

Please sign in to comment.