Skip to content

feat: update workflow for pr #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/pull_request_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: Auto-fill PR Template

on:
pull_request:
types: [opened, edited]
types: [opened, edited, synchronize]

permissions:
contents: write
pull-requests: write

jobs:
autofill_pr:
if: github.actor != 'dependabot'
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand All @@ -21,13 +22,13 @@ jobs:
echo "## πŸ“„ Description" >> pr_body.txt
echo "" >> pr_body.txt
echo "This PR includes the following changes:" >> pr_body.txt
git log --format="- %s" -n 5 >> pr_body.txt
git log --format="- %s" --no-merges -n 5 >> pr_body.txt
echo "" >> pr_body.txt

echo "## 🌟 Pull Request Summary" >> pr_body.txt
echo "**Related Issues:** ${{ github.event.pull_request.issue_url }}" >> pr_body.txt
echo "**Commit Messages:**" >> pr_body.txt
git log --oneline -5 >> pr_body.txt
git log --oneline --no-merges -5 >> pr_body.txt
echo "" >> pr_body.txt

echo "## πŸ”„ Type of change" >> pr_body.txt
Expand Down
24 changes: 24 additions & 0 deletions protobuf/HELP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Getting Started

### Reference Documentation
For further reference, please consider the following sections:

* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/3.4.4/maven-plugin)
* [Create an OCI image](https://docs.spring.io/spring-boot/3.4.4/maven-plugin/build-image.html)
* [Spring Web](https://docs.spring.io/spring-boot/3.4.4/reference/web/servlet.html)

### Guides
The following guides illustrate how to use some features concretely:

* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)

### Maven Parent overrides

Due to Maven's design, elements are inherited from the parent POM to the project POM.
While most of the inheritance is fine, it also inherits unwanted elements like `<license>` and `<developers>` from the parent.
To prevent this, the project POM contains empty overrides for these elements.
If you manually switch to a different parent and actually want the inheritance, you need to remove those overrides.