-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.01 KB
/
pr-description.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Update PR description
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
update-pr-description:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: octue/[email protected]
id: pr-description
with:
pull_request_url: ${{ github.event.pull_request.url }}
api_token: ${{ secrets.GITHUB_TOKEN }}
- name: Update pull request body
uses: riskledger/update-pr-description@v2
with:
body: ${{ steps.pr-description.outputs.pull_request_description }}
token: ${{ secrets.GITHUB_TOKEN }}
# "FEA": "### New features",
# "ENH": "### Enhancements",
# "FIX": "### Fixes",
# "OPS": "### Operations",
# "DEP": "### Dependencies",
# "REF": "### Refactoring",
# "TST": "### Testing",
# "REV": "### Reversions",
# "CHO": "### Chores",
# "STY": "### Style",
# "MRG": OTHER_SECTION_HEADING,
# "WIP": OTHER_SECTION_HEADING,
# "DOC": OTHER_SECTION_HEADING,