|
9 | 9 |
|
10 | 10 | jobs:
|
11 | 11 | release:
|
12 |
| - name: "GIT tag, release & create merge-up PR" |
| 12 | + name: "Release" |
13 | 13 | runs-on: ubuntu-latest
|
14 | 14 |
|
15 | 15 | steps:
|
16 | 16 | - name: "Checkout"
|
17 |
| - uses: "actions/checkout@v3.5.2" |
| 17 | + uses: "actions/checkout@v3" |
18 | 18 |
|
19 | 19 | - name: "Release"
|
20 | 20 |
|
21 | 21 | with:
|
22 | 22 | command-name: "laminas:automatic-releases:release"
|
23 | 23 | env:
|
| 24 | + "SHELL_VERBOSITY": "3" |
24 | 25 | "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
|
25 | 26 | "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
26 | 27 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
27 | 28 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
28 |
| - "LOG_LEVEL": "DEBUG" |
| 29 | + |
| 30 | + merge-up: |
| 31 | + name: "Create Merge-Up Pull Request" |
| 32 | + runs-on: ubuntu-latest |
| 33 | + if: ${{ always() }} |
| 34 | + needs: "release" |
| 35 | + |
| 36 | + steps: |
| 37 | + - name: "Checkout" |
| 38 | + uses: "actions/checkout@v3" |
29 | 39 |
|
30 | 40 | - name: "Create Merge-Up Pull Request"
|
31 | 41 |
|
32 | 42 | with:
|
33 | 43 | command-name: "laminas:automatic-releases:create-merge-up-pull-request"
|
34 | 44 | env:
|
35 |
| - "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} |
| 45 | + "SHELL_VERBOSITY": "3" |
| 46 | + "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
36 | 47 | "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
37 | 48 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
38 | 49 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
39 |
| - "LOG_LEVEL": "DEBUG" |
| 50 | + |
| 51 | + switch: |
| 52 | + name: "Create and/or Switch to new Release Branch" |
| 53 | + runs-on: ubuntu-latest |
| 54 | + if: ${{ always() }} |
| 55 | + needs: "merge-up" |
| 56 | + |
| 57 | + steps: |
| 58 | + - name: "Checkout" |
| 59 | + uses: "actions/checkout@v3" |
40 | 60 |
|
41 | 61 | - name: "Create and/or Switch to new Release Branch"
|
42 | 62 |
|
43 | 63 | with:
|
44 | 64 | command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor"
|
45 | 65 | env:
|
| 66 | + "SHELL_VERBOSITY": "3" |
46 | 67 | "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
|
47 | 68 | "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
48 | 69 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
49 | 70 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
50 |
| - "LOG_LEVEL": "DEBUG" |
| 71 | + |
| 72 | + bump: |
| 73 | + name: "Bump Changelog Version On Originating Release Branch" |
| 74 | + runs-on: ubuntu-latest |
| 75 | + if: ${{ always() }} |
| 76 | + needs: "switch" |
| 77 | + |
| 78 | + steps: |
| 79 | + - name: "Checkout" |
| 80 | + uses: "actions/checkout@v3" |
| 81 | + with: |
| 82 | + fetch-depth: 0 |
51 | 83 |
|
52 | 84 | - name: "Bump Changelog Version On Originating Release Branch"
|
53 | 85 |
|
54 | 86 | with:
|
55 | 87 | command-name: "laminas:automatic-releases:bump-changelog"
|
56 | 88 | env:
|
57 |
| - "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} |
| 89 | + "SHELL_VERBOSITY": "3" |
| 90 | + "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
58 | 91 | "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
59 | 92 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
60 | 93 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
61 |
| - "LOG_LEVEL": "DEBUG" |
| 94 | + |
| 95 | + milestones: |
| 96 | + name: "Create new milestones" |
| 97 | + runs-on: ubuntu-latest |
| 98 | + if: ${{ always() }} |
| 99 | + needs: "bump" |
| 100 | + |
| 101 | + steps: |
| 102 | + - name: "Checkout" |
| 103 | + uses: "actions/checkout@v3" |
62 | 104 |
|
63 | 105 | - name: "Create new milestones"
|
64 | 106 |
|
65 | 107 | with:
|
66 | 108 | command-name: "laminas:automatic-releases:create-milestones"
|
67 | 109 | env:
|
68 |
| - "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} |
| 110 | + "SHELL_VERBOSITY": "3" |
| 111 | + "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} |
69 | 112 | "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
70 | 113 | "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
71 | 114 | "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
72 |
| - "LOG_LEVEL": "DEBUG" |
|
0 commit comments