Skip to content

Commit 2fcfb44

Browse files
ChrisRBeshine2lay
andauthored
fix: correct indentation on documentation (#623)
* fix: correct indentation on documentation Section is not shown as code but as commented text. * chore: update changelog Co-authored-by: Shine Lee <aungshine@gmail.com>
1 parent 8de6cd2 commit 2fcfb44

File tree

2 files changed

+33
-32
lines changed

2 files changed

+33
-32
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CHANGELOG
22
=====================================
33
| March 22, 2022: fix: pass comment instance to removeErrorComments `#626 <https://github.com/mergeability/mergeable/pull/626>`_
4+
| February 24, 2022: fix: correct indentation on documentation `#623 <https://github.com/mergeability/mergeable/pull/623>`_
45
| February 8, 2022: feat: Allow all option on must_include and must_include inside changeset validator `#611 <https://github.com/mergeability/mergeable/pull/611>`_
56
| February 6, 2022: feat: Add commit_title and commit_message options to merge action so the merge commit can be customized based on PR content `#612 <https://github.com/mergeability/mergeable/pull/612>`_
67
| December 12, 2021: feat: Add support for status events to baseRef validator `#395 <https://github.com/mergeability/mergeable/issues/395#issuecomment-991904249>`_

docs/recipes.rst

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -236,36 +236,36 @@ Checks that the PR's draft state is false before running actions.
236236

237237
::
238238

239-
version: 2
240-
mergeable:
241-
- when: pull_request.*
242-
validate:
243-
- do: commit
244-
message:
245-
regex: '^(AB#[0-9]{1,})' #check if all commit messages begin with an AzDO Work Item
246-
pass:
247-
- do: comment
248-
payload:
249-
body: >
250-
<h2>Successfully checked for Azure Work Item IDs in commits</h2>
251-
<h3>All commits in your PR have Azure Board Work Item IDs. Ready for Review!</h3>
252-
:+1:
253-
- do: labels
254-
add: 'Ready for Review'
255-
fail:
256-
- do: comment
257-
payload:
258-
body: >
259-
:warning:
260-
<h2>Azure Boards Work Item IDs missing in commits</h2>
261-
<h3>Some commits messages were found not having the Azure Boards Work Item ID (AB#1234).</h3>
262-
<h3>We will close this PR for now.</h3>
263-
<h3>To resolve, please do one of the following</h3>
264-
<ul>
265-
<li>Identify your Azure Boards Work Item ID and <a href="https://gist.github.com/nepsilon/156387acf9e1e72d48fa35c4fabef0b4">amend your commits</a>. Then re-open the PR</li>
266-
<li>In case you do not have a Work Item ID to reference, please discuss with your reviewer(s) for alternate options</li>
267-
</ul>
268-
- do: labels
269-
add: 'Non-Compliant'
270-
- do: close
239+
version: 2
240+
mergeable:
241+
- when: pull_request.*
242+
validate:
243+
- do: commit
244+
message:
245+
regex: '^(AB#[0-9]{1,})' #check if all commit messages begin with an AzDO Work Item
246+
pass:
247+
- do: comment
248+
payload:
249+
body: >
250+
<h2>Successfully checked for Azure Work Item IDs in commits</h2>
251+
<h3>All commits in your PR have Azure Board Work Item IDs. Ready for Review!</h3>
252+
:+1:
253+
- do: labels
254+
add: 'Ready for Review'
255+
fail:
256+
- do: comment
257+
payload:
258+
body: >
259+
:warning:
260+
<h2>Azure Boards Work Item IDs missing in commits</h2>
261+
<h3>Some commits messages were found not having the Azure Boards Work Item ID (AB#1234).</h3>
262+
<h3>We will close this PR for now.</h3>
263+
<h3>To resolve, please do one of the following</h3>
264+
<ul>
265+
<li>Identify your Azure Boards Work Item ID and <a href="https://gist.github.com/nepsilon/156387acf9e1e72d48fa35c4fabef0b4">amend your commits</a>. Then re-open the PR</li>
266+
<li>In case you do not have a Work Item ID to reference, please discuss with your reviewer(s) for alternate options</li>
267+
</ul>
268+
- do: labels
269+
add: 'Non-Compliant'
270+
- do: close
271271

0 commit comments

Comments
 (0)