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
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [main]
branches: [main, develop]
pull_request:
branches: [main]
branches: [main, develop]

jobs:
lint:
Expand Down Expand Up @@ -98,7 +98,8 @@ jobs:
release-check:
name: Release Check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
# Only relevant for release PRs (develop -> main); skip on PRs into develop.
if: github.event_name == 'pull_request' && github.base_ref == 'main'
steps:
- uses: actions/checkout@v4
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/pr-target-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ on:
pull_request_target:
types: [opened, reopened, synchronize]

permissions:
pull-requests: write
contents: read

jobs:
# Block any PR to main that doesn't come from develop
# Block any PR to main that doesn't come from develop (non-fork branches only;
# forks are handled by redirect-forks below to avoid a duplicate message).
require-develop-to-main:
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref != 'develop'
if: github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref != 'develop' && !github.event.pull_request.head.repo.fork
steps:
- name: Block non-develop PRs to main
run: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,15 @@ jobs:
id: release_notes
run: |
VERSION="${{ steps.version_check.outputs.current_version }}"
# Extract content between this version header and the next version header
NOTES=$(awk "/^## $VERSION/,/^## \[?[0-9]/" CHANGELOG.md | head -n -1 | tail -n +2)
# Print the body between this version's header and the next version header,
# excluding both headers. Handles both "## 1.2.3" and "## [1.2.3]" styles.
# (The old awk range failed because its end pattern also matched the start
# header, collapsing the range to a single line — release notes were empty.)
NOTES=$(awk -v ver="$VERSION" '
$0 ~ "^## \\[?" ver "([^0-9]|$)" { collecting = 1; next }
collecting && /^## \[?[0-9]/ { exit }
collecting { print }
' CHANGELOG.md)
# Use a delimiter for multiline output
echo "notes<<EOF" >> $GITHUB_OUTPUT
echo "$NOTES" >> $GITHUB_OUTPUT
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [1.7.4] - 2026-06-30

### Added

- Horizontal panning with wheel and touchpad (thanks @binaryBrandon)
- MEGA two-factor authentication (2FA) login
- Uploaded covers now show thumbnails in MEGA

### Changed

- MEGA support no longer held together with hope and duct tape
- Faster MEGA downloads

## [1.7.3] - 2026-06-14

### Fixed
Expand Down
Loading
Loading