@@ -39,10 +39,10 @@ processing of commits, as they are pushed to the repository.
39393 . Fill in the form
4040 - Give a name to your app, e.g. ` MantisBT Source Integration `
4141 - Set _ Homepage URL_ as appropriate (e.g. point to your website or your
42- MantisBT instance)
42+ MantisBT instance)
4343 - Provide an _ Application description_ if necessary
4444 - _ Authorization callback URL_ should point to your MantisBT instance's
45- base URL, e.g. `https://path.to/mantis/`
45+ base URL, e.g. ` https://path.to/mantis/ `
4646
47474 . Click on ** Register application**
4848
@@ -68,19 +68,19 @@ configured in a given MantisBT instance.
6868
6969 - The * Name* will be pre-populated with whatever you entered in step 2 above.
7070 - Paste in the GitHub repository's URL in the * URL* field
71- (e.g. `https://github.com/mantisbt-plugins/source-integration`).
71+ (e.g. ` https://github.com/mantisbt-plugins/source-integration ` ).
7272 - Enter the name of the repository's owner in * GitHub Username*
73- (e.g. `mantisbt-plugins`)
73+ (e.g. ` mantisbt-plugins ` )
7474 - Enter the name of the GitHub repository in the * GitHub Repository Name*
75- field (e.g. `source-integration`)
76- - Paste the your OAuth app's _ Client ID_ and _ Client Secret_ in the
77- GitHub Application Client ID and Secret fields
75+ field (e.g. ` source-integration ` )
76+ - Paste the OAuth app's _ Client ID_ and _ Client Secret_ in the
77+ GitHub Application Client ID and Secret fields
7878 - The _ GitHub Webhook Secret_ is not mandatory, but provides additional
79- security as it will allows the plugin to validate the payload received
80- from the GitHub Webhook to ensure it's legit
79+ security as it will allows the plugin to validate the payload received
80+ from the GitHub Webhook to ensure it's legit
8181 - By default, the * Primary Branches* is set to ` master ` , but you can specify
82- another branch or additional ones (comma-separated), or use `*` for all
83- branches
82+ another branch or additional ones (comma-separated), or use ` * ` for all
83+ branches
8484
85855 . Click the ** Update Repository** button to save your changes
8686
@@ -144,12 +144,12 @@ If you prefer, it is also possible to setup the webhook manually:
144144
1451453 . Fill in the form
146146 - Set _ Payload URL_ to
147- `https://path.to/mantis/plugin.php?page=Source/checkin&api_key=XXXX`,
148- where XXXX is your _API Key_, as defined in the Source Integration plugin's
149- Configuration page.
147+ ` https://path.to/mantis/plugin.php?page=Source/checkin&api_key=XXXX ` ,
148+ where XXXX is your _ API Key_ , as defined in the Source Integration plugin's
149+ Configuration page.
150150 - _ Content type_ must be set to ` application/json `
151151 - _ Secret_ must match the _ GitHub Webhook Secret_ defined in step 4 of the
152- [Create a Repository](#create-a-repository) section above
152+ [ Create a Repository] ( #create-a-repository ) section above
153153 - Select _ Just the push event_
154154 - Make sure the _ Active_ checkbox is checked
155155
0 commit comments