File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Automatic Releases"
2+
3+ on :
4+ milestone :
5+ types :
6+ - " closed"
7+
8+ jobs :
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 }}
You can’t perform that action at this time.
0 commit comments