Use a GitHub Action to generate the changelog (#9434) [skip ci]

* Use a GitHub Action to generate the changelog

* Update main.workflow [skip ci]
This commit is contained in:
Nicolò Ribaudo
2019-02-04 22:15:44 +01:00
committed by GitHub
parent 344d35bbe9
commit 44d8a59361
7 changed files with 1527 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
FROM node:10
LABEL "name" = "trigger-github-release"
LABEL "version" = "0.0.1"
LABEL "com.github.actions.name" = "Trigger GitHub release"
LABEL "com.github.actions.description" = "Trigger a new GitHub release and generate the changelog using lerna-changelog."
LABEL "com.github.actions.icon" = "tag"
LABEL "com.github.actions.color" = "yellow"
ADD entrypoint.sh /action/entrypoint.sh
ADD package.json /action/package.json
ADD package-lock.json /action/package-lock.json
ADD release.js /action/release.js
RUN chmod +x /action/entrypoint.sh
ENTRYPOINT ["/action/entrypoint.sh"]