Skip to content

Commit

Permalink
Use the new LS-PR status for PR previews
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic authored and annevk committed Apr 6, 2020
1 parent c4d8d7f commit 572b56f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .pr-preview.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@
"type": "bikeshed",
"params": {
"force": 1,
"md-status": "LS-COMMIT",
"md-h1": "@@h1@@ <small>(<a href=\"{{ pull_request.html_url }}\">PR #{{ pull_request.number }}</a>)</small>",
"md-warning": "Commit {{ short_sha }} {{ pull_request.head.repo.html_url }}/commit/{{ sha }} replaced by {{ config.ls_url }}",
"md-title": "{{ config.title }} (Pull Request Snapshot #{{ pull_request.number }})",
"md-Text-Macro": "SNAPSHOT-LINK {{ config.back_to_ls_link }}"
},
"ls_url": "https://@@shortname@@.spec.whatwg.org/",
"title": "@@h1@@ Standard",
"back_to_ls_link": "<a href=\"https://@@shortname@@.spec.whatwg.org/\" id=\"commit-snapshot-link\">Go to the living standard</a>"
"md-status": "LS-PR",
"md-Text-Macro": "PR-NUMBER {{ pull_request.number }}"
}
}

0 comments on commit 572b56f

Please sign in to comment.