Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release

# Cut a release by pushing a tag like `v1.1.0` (must match manifest.json).
on:
push:
tags:
- "v*"

permissions:
contents: write # create the GitHub Release and upload assets

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
cache: npm

- run: npm ci

- name: Verify tag matches manifest version
run: |
manifest_version="v$(node -p "require('./manifest.json').version")"
if [ "$manifest_version" != "$GITHUB_REF_NAME" ]; then
echo "Tag $GITHUB_REF_NAME does not match manifest version $manifest_version" >&2
exit 1
fi

- run: npm run build

- name: Create GitHub Release with build artifacts
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "$GITHUB_REF_NAME" \
github-pr-reverse-comments.zip \
github-pr-reverse-comments-*.xpi \
--title "$GITHUB_REF_NAME" \
--generate-notes
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Changelog

All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.1.0] - 2026-06-04

### Added

- Reverse the individual commits inside "added N commits" timeline batches on
the Conversation page, so a batch reads newest-commit-first.
- A status-checks indicator at the top of the conversation that reflects the
overall check state (passing / failing / running) and scrolls to the checks
box when clicked.
- Development tooling: ESLint, Prettier, Vitest with coverage gating, JSDoc
type-checking (`tsc --checkJs`), GitHub Actions CI, CodeQL scanning,
Dependabot, and a tag-triggered release workflow.
- `LICENSE` file (MIT).

### Changed

- Refactored shared logic into `constants.js`, `reorder.js`, and `checks.js`
modules with a single source of truth for the storage key and order values.

## [1.0.6] - 2026-05-19

### Added

- Reverse the Commits tab (both the day groups and the commits within each
day), including the modern React-rendered Commits page.
- Firefox support (Manifest V3, signed `.xpi`).

[Unreleased]: https://github.com/ShiosOS/github-pr-reverse-comments/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/ShiosOS/github-pr-reverse-comments/releases/tag/v1.1.0
[1.0.6]: https://github.com/ShiosOS/github-pr-reverse-comments/releases/tag/v1.0.6