Skip to content

Commit 5360587

Browse files
authored
Merge pull request #178 from ghostwriter/feature/renovate
Prepare for Renovate with reusable workflows
2 parents 41da249 + d74c062 commit 5360587

File tree

5 files changed

+96
-165
lines changed

5 files changed

+96
-165
lines changed

.github/workflows/automatic-release.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,8 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- '[0-9]+.[0-9]+.x'
8-
- 'refs/pull/*'
7+
tags:
98

109
jobs:
11-
matrix:
12-
name: Generate job matrix
13-
runs-on: ubuntu-latest
14-
outputs:
15-
matrix: ${{ steps.matrix.outputs.matrix }}
16-
steps:
17-
- name: Gather CI configuration
18-
id: matrix
19-
uses: laminas/laminas-ci-matrix-action@v1
20-
21-
qa:
22-
name: QA Checks
23-
needs: [matrix]
24-
runs-on: ${{ matrix.operatingSystem }}
25-
strategy:
26-
fail-fast: false
27-
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
28-
steps:
29-
- name: ${{ matrix.name }}
30-
uses: laminas/laminas-continuous-integration-action@v1
31-
with:
32-
job: ${{ matrix.job }}
10+
ci:
11+
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Automatic Releases"
2+
3+
on:
4+
milestone:
5+
types:
6+
- "closed"
7+
8+
jobs:
9+
release:
10+
uses: laminas/workflow-automatic-releases/.github/workflows/[email protected]
11+
secrets:
12+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
13+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
14+
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
15+
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
"vimeo/psalm": "^4.7.2"
3131
},
3232
"config": {
33-
"sort-packages": true
33+
"sort-packages": true,
34+
"platform": {
35+
"php": "8.0.99"
36+
}
3437
},
3538
"autoload": {
3639
"psr-4": {

0 commit comments

Comments
 (0)