Repository navigation
ci: automate extension releases #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| name: semantic-pr | ||
|
|
||
| on: # zizmor: ignore[dangerous-triggers] metadata-only PR title check | ||
| # No checkout or untrusted code execution. | ||
| pull_request_target: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - reopened | ||
| - synchronize | ||
|
|
||
| permissions: | ||
| pull-requests: write | ||
|
|
||
| concurrency: | ||
| group: semantic-pr-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| validate-title: | ||
| name: Validate PR title | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
| steps: | ||
| - id: lint_pr_title | ||
| uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| types: | | ||
| build | ||
| chore | ||
| ci | ||
| docs | ||
| feat | ||
| fix | ||
| perf | ||
| refactor | ||
| revert | ||
| style | ||
| test | ||
| subjectPattern: ^(?![A-Z]).+$ | ||
| subjectPatternError: The subject must not start with an uppercase character. | ||
|
|
||
| - name: Comment on invalid PR title | ||
| if: ${{ !cancelled() && steps.lint_pr_title.outputs.error_message != null }} | ||
| uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5 | ||
| with: | ||
| header: pr-title-lint-error | ||
| message: | | ||
| Hey there and thank you for opening this pull request! | ||
|
|
||
| We require pull request titles to follow the | ||
| [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) | ||
| and it looks like your proposed title needs to be adjusted. | ||
|
|
||
| Details: | ||
|
|
||
| ``` | ||
| ${{ steps.lint_pr_title.outputs.error_message }} | ||
| ``` | ||
|
|
||
| - name: Remove PR title lint comment | ||
| if: ${{ steps.lint_pr_title.outputs.error_message == null }} | ||
| continue-on-error: true | ||
| uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5 | ||
| with: | ||
| header: pr-title-lint-error | ||
| delete: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,4 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to Better Markdown Preview will be documented here. | ||
|
|
||
| ## [Unreleased] | ||
|
|
||
| - Scaffold the behavior-free desktop and web extension foundation. | ||
| - Add the repository validation, test, packaging, and CI harness. | ||
| - Enhance the built-in Markdown preview with GFM, alerts, footnotes, definition | ||
| lists, TOML frontmatter, responsive columns, and local Mermaid diagrams. | ||
| - Add a theme-aware document layout, responsive table of contents, and rich | ||
| native-highlighted code-fence presentation. | ||
| - Support the desktop Extension Host and a browser-compatible web bundle with | ||
| focused parser, DOM lifecycle, Extension Host, and packaged-artifact | ||
| validation. | ||
| - Add default-on settings for each optional rendering feature, the table of | ||
| contents, smooth navigation, and the Mermaid zoom and pan viewer. | ||
| - Animate table-of-contents navigation while respecting reduced-motion | ||
| preferences, and soften the Mermaid viewer backdrop. | ||
| - Compact list indentation, align task checkboxes with ordinary list markers, | ||
| remove the rectangular ToC focus treatment, and match the mobile ToC backdrop | ||
| to the Mermaid viewer. | ||
| - Render TOML and YAML frontmatter as expanded, collapsible, | ||
| syntax-highlighted code without delimiter lines. | ||
| Release history is available in | ||
| [GitHub Releases](https://github.com/jimeh/vscode-better-markdown-preview/releases). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.