Skip to content

Commit

Permalink
Merge pull request #178 from ghostwriter/feature/renovate
Browse files Browse the repository at this point in the history
Prepare for Renovate with reusable workflows
  • Loading branch information
Ocramius authored Feb 23, 2022
2 parents 41da249 + d74c062 commit 5360587
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 165 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/automatic-release.yml

This file was deleted.

27 changes: 3 additions & 24 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,8 @@ on:
pull_request:
push:
branches:
- '[0-9]+.[0-9]+.x'
- 'refs/pull/*'
tags:

jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@v1

qa:
name: QA Checks
needs: [matrix]
runs-on: ${{ matrix.operatingSystem }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }}
uses: laminas/laminas-continuous-integration-action@v1
with:
job: ${{ matrix.job }}
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x
15 changes: 15 additions & 0 deletions .github/workflows/release-on-milestone-closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Automatic Releases"

on:
milestone:
types:
- "closed"

jobs:
release:
uses: laminas/workflow-automatic-releases/.github/workflows/release-on-milestone-closed.yml@1.x
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"vimeo/psalm": "^4.7.2"
},
"config": {
"sort-packages": true
"sort-packages": true,
"platform": {
"php": "8.0.99"
}
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 5360587

Please sign in to comment.