chore(prettier): satisfy prettier. also ensure tests are run on push events

This commit is contained in:
Tom Wheeler
2026-01-31 10:10:29 +13:00
parent 31427a8dcc
commit 653fef1ddb
7 changed files with 44 additions and 75 deletions
-1
View File
@@ -1,4 +1,3 @@
# These are supported funding model platforms
buy_me_a_coffee: agregarr
+22 -22
View File
@@ -1,23 +1,23 @@
version: 2
updates:
# npm packages
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
day: "monday"
interval: 'weekly'
day: 'monday'
open-pull-requests-limit: 10
rebase-strategy: "auto"
rebase-strategy: 'auto'
labels:
- "dependencies"
- 'dependencies'
groups:
# Group all non-major updates into single PR to reduce noise
minor-and-patch:
patterns:
- "*"
- '*'
update-types:
- "minor"
- "patch"
- 'minor'
- 'patch'
ignore:
# Major version updates often have breaking changes - handle manually
# Uncomment any you want to pin:
@@ -25,26 +25,26 @@ updates:
# update-types: ["version-update:semver-major"]
# Docker base images
- package-ecosystem: "docker"
directory: "/"
- package-ecosystem: 'docker'
directory: '/'
schedule:
interval: "weekly"
day: "monday"
rebase-strategy: "auto"
interval: 'weekly'
day: 'monday'
rebase-strategy: 'auto'
labels:
- "dependencies"
- 'dependencies'
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "weekly"
day: "monday"
rebase-strategy: "auto"
interval: 'weekly'
day: 'monday'
rebase-strategy: 'auto'
labels:
- "dependencies"
- 'dependencies'
groups:
# Group all action updates together
actions:
patterns:
- "*"
- '*'
+3 -4
View File
@@ -11,7 +11,6 @@ on:
jobs:
test:
name: Lint & Test Build
if: github.event_name == 'pull_request'
runs-on: ubuntu-22.04
container: node:20.19.5-alpine
steps:
@@ -162,12 +161,12 @@ jobs:
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEVELOP }}
title: "✅ Agregarr Develop Build"
title: '✅ Agregarr Develop Build'
description: |
**Repository:** ${{ github.repository }}
**Branch:** ${{ github.ref_name }}
**Commit:** [${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
color: 0x00ff00
username: "Agregarr Bot"
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
username: 'Agregarr Bot'
url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
nofail: true
-32
View File
@@ -1,32 +0,0 @@
# [1.2.0](https://github.com/agregarr/agregarr/compare/v1.1.0...v1.2.0) (2025-09-02)
### Features
* push new version ([086ab63](https://github.com/agregarr/agregarr/commit/086ab6334cc5e6252fa81bede3e9e48a945c165b))
# [1.1.0](https://github.com/agregarr/agregarr/compare/v1.0.4...v1.1.0) (2025-09-02)
### Bug Fixes
* correctly respects exclusion list in radarr/sonarr ([fd08dcc](https://github.com/agregarr/agregarr/commit/fd08dcc02d5861249f410312fafbd7d18eec6d76)), closes [#31](https://github.com/agregarr/agregarr/issues/31)
* custom collection media type detection ([2978996](https://github.com/agregarr/agregarr/commit/2978996fc20df7c6314c2cb0ebdfc74649eefc78)), closes [#44](https://github.com/agregarr/agregarr/issues/44)
* custom title not propogating to UI on save, fix linked editing ([78c45c9](https://github.com/agregarr/agregarr/commit/78c45c9905d2f55c264c53df9491575065986375)), closes [#29](https://github.com/agregarr/agregarr/issues/29) [#37](https://github.com/agregarr/agregarr/issues/37)
* discovery service promotion respecting plex order ([584cbb3](https://github.com/agregarr/agregarr/commit/584cbb3d7285249e5a1f5244589961a8e3949044))
* edit config propgation ([8446bf2](https://github.com/agregarr/agregarr/commit/8446bf2c299dac6114c38c5905ffecc4759e56db))
* iMDb list types ([7372ba5](https://github.com/agregarr/agregarr/commit/7372ba50f6976d797b7cc9f199a52031c7841eee)), closes [#7](https://github.com/agregarr/agregarr/issues/7)
* multiple minor fixes ([722b3e3](https://github.com/agregarr/agregarr/commit/722b3e37768a877f77c29217ea195251f749523d))
* multiple minor fixes ([f3f8499](https://github.com/agregarr/agregarr/commit/f3f84991aa18e02a8688168b1b5a264f3cae2c9f))
* plex home/recommended ordering ([f135273](https://github.com/agregarr/agregarr/commit/f135273ea79908c86c3e0d0712f3eb383705b3c7)), closes [#28](https://github.com/agregarr/agregarr/issues/28)
* prevent async discovery/collections sync, minor bug fixes ([d021a70](https://github.com/agregarr/agregarr/commit/d021a70d1bda360868661a3fe875e01b3d6305b4))
* refined linked default hubs logic ([2017cf3](https://github.com/agregarr/agregarr/commit/2017cf3a8c35c86d0a04c36a95c847481ae48fc4)), closes [#36](https://github.com/agregarr/agregarr/issues/36)
* skip TV shows with more than this many seasons not being respected ([4cc4ef6](https://github.com/agregarr/agregarr/commit/4cc4ef6ab77dc3a49d140a9d9c0c30714c88debe)), closes [#24](https://github.com/agregarr/agregarr/issues/24)
### Features
* add poster generationn and management ([b778430](https://github.com/agregarr/agregarr/commit/b778430ab399b730ddb0b8efd8aba22aef93e3f0)), closes [#45](https://github.com/agregarr/agregarr/issues/45)
* add season limit for tv shows ([0b74a4d](https://github.com/agregarr/agregarr/commit/0b74a4d758e1a737bfe907323b88b0283c0137aa)), closes [#27](https://github.com/agregarr/agregarr/issues/27)
* allow custom CRON expressions for Plex Collections Sync, update presets ([975e8b5](https://github.com/agregarr/agregarr/commit/975e8b50e3acd4c603515723cb1335db56507014)), closes [#23](https://github.com/agregarr/agregarr/issues/23)
* **component:** adds a configurable 'minimumPlays' field for Tautulli collections, defaulting to 3 ([257aae7](https://github.com/agregarr/agregarr/commit/257aae766bee375edac67975a36df2f335744cc8)), closes [#38](https://github.com/agregarr/agregarr/issues/38)
@@ -20,8 +20,7 @@ const messages = defineMessages({
selectServer: 'Select server...',
allServers: 'All Servers',
filterByTags: 'Filter by Tags',
filterByTagsHelp:
'Filter monitored items by tags assigned in Radarr/Sonarr.',
filterByTagsHelp: 'Filter monitored items by tags assigned in Radarr/Sonarr.',
tagMode: 'Tag Filter Mode',
includeHelp: 'Only include items with at least one of the selected tags.',
excludeHelp: 'Exclude items that have any of the selected tags.',
@@ -68,7 +67,12 @@ const ComingSoonServerSection = ({
) {
setFieldValue?.('comingSoonRadarrServerId', radarrServers[0].id);
}
}, [radarrLoading, radarrServers, values.comingSoonRadarrServerId, setFieldValue]);
}, [
radarrLoading,
radarrServers,
values.comingSoonRadarrServerId,
setFieldValue,
]);
useEffect(() => {
if (
@@ -78,7 +82,12 @@ const ComingSoonServerSection = ({
) {
setFieldValue?.('comingSoonSonarrServerId', sonarrServers[0].id);
}
}, [sonarrLoading, sonarrServers, values.comingSoonSonarrServerId, setFieldValue]);
}, [
sonarrLoading,
sonarrServers,
values.comingSoonSonarrServerId,
setFieldValue,
]);
// Effective server IDs (for fetching tags)
const effectiveRadarrServerId =
@@ -218,10 +227,7 @@ const ComingSoonServerSection = ({
className="form-checkbox"
checked={values.comingSoonFilterByTags ?? false}
onChange={(e) => {
setFieldValue?.(
'comingSoonFilterByTags',
e.target.checked
);
setFieldValue?.('comingSoonFilterByTags', e.target.checked);
if (!e.target.checked) {
setFieldValue?.('comingSoonRadarrTagIds', []);
setFieldValue?.('comingSoonSonarrTagIds', []);
@@ -1,7 +1,7 @@
import IncludeExcludeToggle from '@app/components/Common/IncludeExcludeToggle';
import { defineMessages, useIntl } from 'react-intl';
import Select, { type MultiValue } from 'react-select';
import useSWR from 'swr';
import IncludeExcludeToggle from '@app/components/Common/IncludeExcludeToggle';
const messages = defineMessages({
// Genre messages
@@ -2161,18 +2161,15 @@ const CollectionFormConfigForm = ({
sonarrTagId: values.sonarrTagId,
// Coming Soon monitored server/tag filtering
comingSoonRadarrServerId:
values.type === 'comingsoon' &&
values.subtype === 'monitored'
values.type === 'comingsoon' && values.subtype === 'monitored'
? values.comingSoonRadarrServerId
: undefined,
comingSoonSonarrServerId:
values.type === 'comingsoon' &&
values.subtype === 'monitored'
values.type === 'comingsoon' && values.subtype === 'monitored'
? values.comingSoonSonarrServerId
: undefined,
comingSoonFilterByTags:
values.type === 'comingsoon' &&
values.subtype === 'monitored'
values.type === 'comingsoon' && values.subtype === 'monitored'
? values.comingSoonFilterByTags
: undefined,
comingSoonTagMode:
@@ -3278,7 +3275,7 @@ const CollectionFormConfigForm = ({
/>
</div>
</div>
)}
)}
{/* Placeholder Creation - show for external sources that can have missing items */}
{/* Hide for: overseerr, tautulli, recently_added, plex directors/actors */}