Skip to content

Commit

Permalink
style(ci): refine bot messages that encourage better PR descriptions
Browse files Browse the repository at this point in the history
also edited the name of the GitHub Action to be Release Notes Manager
  • Loading branch information
Ahmed-Khaled-dev committed Oct 24, 2024
1 parent 198c89b commit d86d2a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Release Notes Maintainer'
name: 'Release Notes Manager'
description: 'Generate release notes or show how pull requests affect the release notes'
author: 'Ahmed Khaled [email protected]'

Expand Down Expand Up @@ -175,9 +175,9 @@ runs:
TRIGGER_EVENT: ${{ inputs.pull-request-trigger-event }}
run: |
if [ "$TRIGGER_EVENT" = "opened" ]; then
echo "COMMENT_TEXT=Thank you for contributing!<br>Below is how your contribution will look like in Synfig's release notes, review it and improve your pull request's title and description so that your contribution is clear, you can add images, videos and anything you want, have fun!<br>" >> "$GITHUB_OUTPUT"
echo "COMMENT_TEXT=Thank you for contributing!<br>Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!<br>" >> "$GITHUB_OUTPUT"
elif [ "$TRIGGER_EVENT" = "edited" ]; then
echo "COMMENT_TEXT=Thank you for trying to improve your contribution description!<br>Below is how your updated contribution will look like in Synfig's release notes, review it and improve it till you are satisfied!<br>" >> "$GITHUB_OUTPUT"
echo "COMMENT_TEXT=Thank you for attempting to improve your contribution description!<br>Below is how your updated contribution will appear in Synfig's release notes. Review it and make further improvements until you're satisfied!<br>" >> "$GITHUB_OUTPUT"
fi
shell: bash

Expand Down

0 comments on commit d86d2a0

Please sign in to comment.