create comment on pull request, if exists update that comment.
Find a file
dependabot-preview[bot] 63e4043aee
build(deps): [security] bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 21:30:40 +00:00
.github/workflows build: build custom header implement 2020-02-04 17:24:40 +09:00
__tests__ feat: add ability to set custom header 2020-02-04 17:19:50 +09:00
lib build: build custom header implement 2020-02-04 17:24:40 +09:00
node_modules build(deps): commit production deps 2019-11-21 10:11:11 +09:00
src build: build custom header implement 2020-02-04 17:24:40 +09:00
.gitignore chore: ignore vscode setting 2019-11-23 10:43:26 +09:00
.tool-versions build: update deps 2019-11-21 09:44:21 +09:00
action.yml feat: add ability to set custom header 2020-02-04 17:19:50 +09:00
jest.config.js Initial commit 2019-11-21 08:05:13 +09:00
LICENSE Initial commit 2019-11-21 08:05:13 +09:00
package-lock.json build(deps): [security] bump acorn from 6.4.0 to 6.4.1 2020-03-13 21:30:40 +00:00
package.json build(deps-dev): bump @types/jest from 25.1.3 to 25.1.4 2020-03-11 01:40:04 +00:00
README.md docs: update project info 2019-11-21 10:28:06 +09:00
tsconfig.json Initial commit 2019-11-21 08:05:13 +09:00
wallaby.js chore: wallaby config 2019-11-23 10:10:39 +09:00

Sticky Pull Request Comment

Create comment on pull request, if exists update that comment.

Usage:

uses: marocchino/sticky-pull-request-comment@v1
with:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  message: |
    Release ${{ github.sha }} to <https://pr-${{ github.event.number }}.example.com>    

Development

Install the dependencies

$ npm install

Build the typescript

$ npm run build

Run the tests ✔️

$ npm test

 PASS  ./index.test.js
  ✓ throws invalid number (3ms)wait 500 ms (504ms)test runs (95ms)

...

Publish to a distribution branch

Actions are run from GitHub repos. We will create a releases branch and only checkin production modules (core in this case).

Comment out node_modules in .gitignore and create a releases/v1 branch

# comment out in distribution branches
# node_modules/
$ git checkout -b releases/v1
$ git commit -a -m "prod dependencies"
$ npm prune --production
$ git add node_modules
$ git commit -a -m "prod dependencies"
$ git push origin releases/v1

Your action is now published! 🚀

See the versioning documentation