Skip to content

Commit f7812ff

Browse files
committed
edit pr template
1 parent 1bb6c28 commit f7812ff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ JIRA - <https://jira.mongodb.org/browse/DOCSP-NNNNN>
1616
- [ ] Are all the links working?
1717
- [ ] Are the [facets and meta keywords](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) accurate?
1818
- [ ] Are the page titles greater than 20 characters long and [SEO relevant](https://docs.google.com/spreadsheets/d/1Wkt0-5z04KmcMNscN5bjUKnzwWAtMq9VESp-Lz6r2o8/edit?usp=sharing)?
19+
<!-- start redirects --><!-- end redirects -->

.github/workflows/add-redirects.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@ jobs:
5656
- name: Update the PR Description
5757
uses: MongoCaleb/pr-description-action@master
5858
with:
59-
content: "\n- [ ] Did you add redirects?\n *Replace &lt;v&gt; with earliest backport target version*\n${{ steps.renamed-files.outputs.redirects }}${{ steps.deleted-files.outputs.redirects }}\n"
59+
regex: "<!-- start redirects -->.*<!-- end redirects -->"
60+
appendContentOnMatchOnly: true
61+
regexFlags: is
62+
content: "- [ ] Did you add redirects?\n *Replace &lt;v&gt; with earliest backport target version*\n${{ steps.renamed-files.outputs.redirects }}${{ steps.deleted-files.outputs.redirects }}\n"
6063
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)