|
1 | | -name: Automatic Releases |
| 1 | +name: "Automatic Releases" |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | milestone: |
5 | 5 | types: |
6 | | - - closed |
| 6 | + - "closed" |
7 | 7 |
|
8 | 8 | jobs: |
9 | 9 | release: |
10 | | - name: GIT tag, release & create merge-up PR |
| 10 | + name: "GIT tag, release & create merge-up PR" |
11 | 11 | runs-on: ubuntu-latest |
12 | 12 |
|
13 | 13 | steps: |
14 | | - - name: Checkout |
15 | | - uses: actions/checkout@v2 |
| 14 | + - name: "Checkout" |
| 15 | + uses: "actions/checkout@v2" |
16 | 16 |
|
17 | | - - name: Release |
18 | | - uses: laminas/automatic-releases@v1 |
| 17 | + - name: "Release" |
| 18 | + uses: "laminas/automatic-releases@v1" |
19 | 19 | with: |
20 | | - command-name: laminas:automatic-releases:release |
| 20 | + command-name: "laminas:automatic-releases:release" |
21 | 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 }} |
| 22 | + "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_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 | 26 |
|
27 | | - - name: Create Merge-Up Pull Request |
28 | | - uses: laminas/automatic-releases@v1 |
| 27 | + - name: "Create Merge-Up Pull Request" |
| 28 | + uses: "laminas/automatic-releases@v1" |
29 | 29 | with: |
30 | | - command-name: laminas:automatic-releases:create-merge-up-pull-request |
| 30 | + command-name: "laminas:automatic-releases:create-merge-up-pull-request" |
31 | 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 }} |
| 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 | 36 |
|
37 | | - - name: Create and/or Switch to new Release Branch |
38 | | - uses: laminas/automatic-releases@v1 |
| 37 | + - name: "Create and/or Switch to new Release Branch" |
| 38 | + uses: "laminas/automatic-releases@v1" |
39 | 39 | with: |
40 | | - command-name: laminas:automatic-releases:switch-default-branch-to-next-minor |
| 40 | + command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor" |
41 | 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 }} |
| 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 }} |
0 commit comments