diff --git a/README.md b/README.md index 8617bb62..6c1c8c4f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Comment Pull Request - GitHub Actions +## What is it ? + +A GitHub action that comments with a given message the pull request linked to the pushed branch. +You can even put dynamic data thanks to [Contexts and expression syntax](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions). + ## DISCLAIMER If you prefer not to download a full action, this can now be easily done thanks to [github scripts](https://github.com/actions/github-script). @@ -15,11 +20,6 @@ If you prefer not to download a full action, this can now be easily done thanks github.issues.createComment({ issue_number, owner, repo, body: 'Hello world ! 👋' }); ``` -## What is it ? - -A GitHub action that comments with a given message the pull request linked to the pushed branch. -You can even put dynamic data thanks to [Contexts and expression syntax](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions). - ## Usage ```