PJ Quirk
c9ba6969f0
Merge pull request #70 from actions/users/paquirk/ghesfixes
...
Bump actions/github to 2.2.0
v1.1.0
2020-05-15 15:20:08 -04:00
PJ Quirk
7bc451acb8
Bump actions/github to 2.2.0
2020-05-12 16:27:09 -04:00
Thomas Hughes
da6846bafe
Merge pull request #62 from ericsciple/patch-1
...
Update readme example to pin to major version
2020-05-05 13:35:53 -05:00
eric sciple
6addae869b
Update readme example to pin to major version
2020-04-23 20:45:39 -04:00
Thomas Hughes
164c698b8b
Merge pull request #57 from actions/dependabot/npm_and_yarn/acorn-5.7.4
...
Bump acorn from 5.7.3 to 5.7.4
2020-04-17 08:15:48 -05:00
Thomas Hughes
c6361542cc
Merge pull request #33 from actions/dependabot/npm_and_yarn/handlebars-4.5.3
...
Bump handlebars from 4.2.1 to 4.5.3
2020-04-17 08:15:00 -05:00
dependabot[bot]
e28d56d234
Bump acorn from 5.7.3 to 5.7.4
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-04-05 07:07:19 +00:00
Thomas Hughes
8f324cdc2e
Merge pull request #45 from khitrenovich/patch-1
...
Update README to show usage of "latest" version
2020-02-28 08:23:48 +01:00
Anton Khitrenovich
0e420272a0
Update README to show usage of "latest" version
...
...otherwise `body` usage sample doesn't work, which results in a bunch of open issues on the topic.
2020-02-27 13:06:08 -05:00
Thomas Hughes
fca5fb59db
Merge pull request #42 from actions/IAmHughes/automate-major-versioning
...
Add workflow to automate versioning
v1.0.1
2020-02-10 09:04:46 +01:00
Thomas Hughes
716a1bccc7
Add versioning action to slide major versions w/ release
2020-02-10 09:04:07 +01:00
dependabot[bot]
62bca7df51
Bump handlebars from 4.2.1 to 4.5.3
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.2.1 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.1...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-30 03:03:28 +00:00
Thomas Hughes
4d1b6075ce
Merge pull request #22 from sclaire-1/master
...
Edit README.md
2019-11-18 16:57:21 -06:00
sclaire-1
69b747352a
Edit README.md
...
Removed a word in the "Prerequisites" section to improve flow.
2019-11-18 12:31:28 -08:00
Steve Winton
d9c9ca3972
Merge pull request #11 from csexton/add-body
...
Include body parameter for release
2019-11-15 14:57:28 -08:00
Mike Coutermarsh
77669bf751
Merge pull request #18 from actions/ethomson/name_update
...
Update action description
2019-11-12 08:13:12 -08:00
Edward Thomson
de86cc55c4
Update action name and description
2019-11-08 16:02:58 +00:00
Edward Thomson
2329f0d753
README: use v1
for semantic version goodness
2019-11-08 16:00:49 +00:00
Thomas Hughes
216650af00
Update README.md
2019-11-05 07:10:17 -06:00
Thomas Hughes
35e5c6da76
Add comment about GITHUB_TOKEN being provided by env
2019-11-04 16:17:19 -06:00
Christopher Sexton
becafb2f61
Include body parameter for release
...
Fixes #4
This adds the ability to include the body parameter when creating the
release.
- name: Checkout code
uses: actions/checkout@master
- name: Create Release
id: create_release
uses: actions/create-release@master
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: Release body
This also supports a multiline body:
- name: Create Release
id: create_release
uses: actions/create-release@master
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
This is a multiline body
with more than one
line
Or if you want the contents of a file:
- name: Read CHANGELOG
id: changelog
run: |
echo "::set-output name=body::$(cat CHANGELOG.md)"
- name: Create Release
id: create_release
uses: actions/create-release@master
with:
release_name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.body }}
One decision I made in favor of less code was to send an empty body when
there was non present. If it would be preferred to send nothing in the
request for the `body` attribute I could instead compose the parameters
with an optional body attribute:
releaseParams = {
owner,
repo,
tag_name: tag,
name: releaseName,
draft,
prerelease
};
if (body) releaseParams.body = body;
const createReleaseResponse = await github.repos.createRelease( releaseParams );
2019-10-22 12:24:23 -04:00
Thomas Hughes
038c480249
Merge pull request #8 from actions/IAmHughes/fix-link-to-license
...
Fix link to LICENSE
2019-10-20 17:48:29 -05:00
Thomas Hughes
2470c6ab61
Update CONTRIBUTING.md
2019-10-20 17:47:47 -05:00
Thomas Hughes
0cd8e92f5b
Merge pull request #1 from francisfuzz/missing-backtick
...
Docs: update README to include a closing backtick
2019-10-11 09:12:54 -05:00
francisfuzz
05bdca6c98
docs: update README to include a closing backtick
2019-10-11 16:10:37 +02:00
Thomas Hughes
8d93430edd
Refactor main.js for test coverage
v1.0.0
2019-09-27 14:19:53 -05:00
Thomas Hughes
fe2c2b435f
Add description to test suite
2019-09-27 09:06:50 -05:00
Thomas Hughes
cc8e50bfc7
Add additional tests
2019-09-26 15:50:59 -05:00
Thomas Hughes
aa6f452281
Create release endpoint test
2019-09-26 15:24:23 -05:00
Thomas Hughes
782415ab55
Update CONTRIBUTING
2019-09-25 12:15:47 -05:00
Thomas Hughes
e87cc39944
Add jest config and export main.js
2019-09-20 15:29:25 -05:00
Thomas Hughes
97fca7f8d6
Add initial test stub
2019-09-20 15:18:26 -05:00
Thomas Hughes
3d8e310430
Setup CI
2019-09-20 15:16:57 -05:00
Thomas Hughes
74488db0a3
Fix ESLint errors
2019-09-20 15:11:35 -05:00
Thomas Hughes
961e428264
Add test stub
2019-09-20 15:08:16 -05:00
Thomas Hughes
af260870f7
Update dev dependencies, add ESLint
2019-09-20 15:07:18 -05:00
Thomas Hughes
d0222fc862
Initial commit
2019-09-20 14:55:33 -05:00