|
8 | 8 | jobs:
|
9 | 9 | release:
|
10 | 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 |
| - uses: "laminas/automatic-releases@v1" |
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 |
| - uses: "laminas/automatic-releases@v1" |
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 |
| - # Uncomment this step if the repository uses a "next minor as default |
38 |
| - # branch" policy. |
39 |
| - # |
40 |
| - # - name: "Create and/or Switch to new Release Branch" |
41 |
| - # uses: "laminas/automatic-releases@v1" |
42 |
| - # with: |
43 |
| - # command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor" |
44 |
| - # env: |
45 |
| - # "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} |
46 |
| - # "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} |
47 |
| - # "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} |
48 |
| - # "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |
49 |
| - |
50 |
| - - name: "Create new milestones" |
51 |
| - uses: "laminas/automatic-releases@v1" |
52 |
| - with: |
53 |
| - command-name: "laminas:automatic-releases:create-milestones" |
54 |
| - env: |
55 |
| - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
56 |
| - "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} |
57 |
| - "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} |
58 |
| - "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }} |
| 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 }} |
0 commit comments