File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1- # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
1+ # Alternate workflow example.
2+ # This one is identical to the one in release-on-milestone.yml, with one change:
3+ # the Release step uses the ORGANIZATION_ADMIN_TOKEN instead, to allow it to
4+ # trigger a release workflow event. This is useful if you have other actions
5+ # that intercept that event.
26
37name : " Automatic Releases"
48
2125 with :
2226 command-name : " laminas:automatic-releases:release"
2327 env :
24- " GITHUB_TOKEN " : ${{ secrets.GITHUB_TOKEN }}
28+ " GITHUB_TOKEN " : ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
2529 " SIGNING_SECRET_KEY " : ${{ secrets.SIGNING_SECRET_KEY }}
2630 " GIT_AUTHOR_NAME " : ${{ secrets.GIT_AUTHOR_NAME }}
2731 " GIT_AUTHOR_EMAIL " : ${{ secrets.GIT_AUTHOR_EMAIL }}
5559 " SIGNING_SECRET_KEY " : ${{ secrets.SIGNING_SECRET_KEY }}
5660 " GIT_AUTHOR_NAME " : ${{ secrets.GIT_AUTHOR_NAME }}
5761 " GIT_AUTHOR_EMAIL " : ${{ secrets.GIT_AUTHOR_EMAIL }}
62+
63+ - name : " Create new milestones"
64+ uses : " laminas/automatic-releases@v1"
65+ with :
66+ command-name : " laminas:automatic-releases:create-milestones"
67+ env :
68+ " GITHUB_TOKEN " : ${{ secrets.GITHUB_TOKEN }}
69+ " SIGNING_SECRET_KEY " : ${{ secrets.SIGNING_SECRET_KEY }}
70+ " GIT_AUTHOR_NAME " : ${{ secrets.GIT_AUTHOR_NAME }}
71+ " GIT_AUTHOR_EMAIL " : ${{ secrets.GIT_AUTHOR_EMAIL }}
You can’t perform that action at this time.
0 commit comments