Skip to content

Commit 14fa3ac

Browse files
committed
Set up PR template and gh-ph
1 parent b885008 commit 14fa3ac

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Description
2+
3+
# Changes
4+
<!-- === GH HISTORY FORMAT FENCE === --> <!--
5+
### [`%h`]({{.url}}/commits/%H) %s%n%n%b%n
6+
--> <!-- === GH HISTORY FORMAT FENCE === -->
7+
<!-- === GH HISTORY FENCE === -->
8+
<!-- Do NOT write here! -->
9+
<!-- It will be filled in by GitHub Actions automatically. -->
10+
<!-- === GH HISTORY FENCE === -->
11+
12+
# Checklist
13+
14+
- [ ] I have rebased my branch so that it has no conflicts
15+
- [ ] I have added tests where appropriate
16+
17+
# Is this a breaking change?
18+
19+
<!-- Yes / No. Reason. -->

.github/workflows/gh-ph.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Pull request history
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
gh-ph:
8+
name: Add commit history to pull request description
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- uses: Frederick888/gh-ph@v1
15+
env:
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)