Skip to content

Commit

Permalink
Merge 8084390 into 8938e40
Browse files Browse the repository at this point in the history
  • Loading branch information
pvsaintpe committed Dec 22, 2020
2 parents 8938e40 + 8084390 commit 0f90ece
Show file tree
Hide file tree
Showing 11 changed files with 210 additions and 118 deletions.
15 changes: 9 additions & 6 deletions .github/auto_assign.yml
@@ -1,16 +1,19 @@
# Set to true to add assignees to pull requests
addReviewers: true

numberOfReviewers: 1

reviewers:
- pvsaitpe
- zlob

addAssignees: true

# A list of assignees, overrides reviewers if set
assignees:
- pvsaintpe
- zlob

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
numberOfAssignees: 1

# A list of keywords to be skipped the process that add reviewers if pull requests include it
skipKeywords:
- wip
- draft
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
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 Down
Expand Up @@ -11,3 +11,4 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
configuration-path: ".github/labeler.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
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -87,12 +87,12 @@ jobs:
- operating_system: 'ubuntu-latest'
php_versions: '7.3'
postgres: '13'
experimental: true
experimental: false
exclude_group: WithoutSchema
- operating_system: 'ubuntu-latest'
php_versions: '7.4'
postgres: '13'
experimental: true
experimental: false
exclude_group: WithoutSchema
- operating_system: 'ubuntu-latest'
php_versions: '8.0'
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
name: 'Test / PHP ${{ matrix.php_versions }} with Postgres ${{ matrix.postgres }}'
name: 'Test / PHP ${{ matrix.php_versions }} / Postgres ${{ matrix.postgres }}'
needs:
- lint
steps:
Expand Down 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 0f90ece

Please sign in to comment.