|
7 | 7 |
|
8 | 8 | jobs:
|
9 | 9 | release:
|
10 |
| - name: "GIT tag, release & create merge-up PR" |
11 |
| - runs-on: "ubuntu-20.04" |
12 |
| - |
13 |
| - steps: |
14 |
| - - name: "Checkout" |
15 |
| - uses: "actions/checkout@v2" |
16 |
| - |
17 |
| - - name: "Release" |
18 |
| - |
19 |
| - with: |
20 |
| - command-name: "laminas:automatic-releases:release" |
21 |
| - env: |
22 |
| - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
23 |
| - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} |
24 |
| - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} |
25 |
| - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |
26 |
| - |
27 |
| - - name: "Create Merge-Up Pull Request" |
28 |
| - |
29 |
| - with: |
30 |
| - command-name: "laminas:automatic-releases:create-merge-up-pull-request" |
31 |
| - env: |
32 |
| - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
33 |
| - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} |
34 |
| - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} |
35 |
| - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |
36 |
| - |
37 |
| - - name: "Create and/or Switch to new Release Branch" |
38 |
| - uses: "laminas/automatic-releases@v1" |
39 |
| - with: |
40 |
| - command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor" |
41 |
| - env: |
42 |
| - "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} |
43 |
| - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} |
44 |
| - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} |
45 |
| - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |
46 |
| - |
47 |
| - - name: "Create new milestones" |
48 |
| - uses: "laminas/automatic-releases@v1" |
49 |
| - with: |
50 |
| - command-name: "laminas:automatic-releases:create-milestones" |
51 |
| - env: |
52 |
| - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
53 |
| - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} |
54 |
| - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} |
55 |
| - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |
| 10 | + name: "Git tag, release & create merge-up PR" |
| 11 | + uses: "doctrine/.github/.github/workflows/[email protected]" |
| 12 | + secrets: |
| 13 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 14 | + GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} |
| 15 | + GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} |
| 16 | + ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} |
| 17 | + SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }} |
| 18 | + with: |
| 19 | + use-next-minor-as-default-branch: true |
0 commit comments