diff --git a/README.md b/README.md index e79c659..2beb5bb 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,16 @@ Create comment on pull request, if exists update that comment. +## Usage: + +```yaml +uses: marocchino/sticky-pull-request-comment@v1 +with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + message: | + Release ${{ github.sha }} to +``` + ## Development Install the dependencies @@ -55,13 +65,3 @@ $ git push origin releases/v1 Your action is now published! :rocket: See the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md) - -## Usage: - -```yaml -uses: marocchino/sticky-pull-request-comment@v1 -with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - message: | - Release ${{ github.sha }} to -``` diff --git a/action.yml b/action.yml index 5c31ae2..a11908f 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ -name: "Your name here" -description: "Provide a description here" -author: "Your name or organization here" +name: "Sticky Pull Request Comment" +description: "Create comment on pull request, if exists update that comment." +author: "marocchino" inputs: message: description: "comment message"