Inverle
306327a9d5
Lychee CI: only check changed URLs in PRs ( #9614 )
...
Ref: https://github.com/FreshRSS/FreshRSS/pull/9209#issuecomment-6534445300
Only checks modified or added URLs in PRs to reduce noise. The workflow still continues to scan the entire repo for push and cron events.
Tested working in a fork PR.
2026-11-23 08:30:13 +01:00
Alexandre Alapetite
3c13b68dc9
Improve test-all-php-versions for PostgreSQL ( #9606 )
...
To avoid skipped tests.
Follow-up of:
* https://github.com/FreshRSS/FreshRSS/pull/9576
* https://github.com/FreshRSS/FreshRSS/pull/9535
2026-11-21 22:40:40 +01:00
Alexandre Alapetite
ea646d2bde
Use PHP 8.4+ \Dom classes and functions ( #9567 )
...
Currently, SimplePie uses legacy DOMDocument parsing, which outputs potentially problematic HTML, not correctly sanitised.
This breaks the assumption that one can use something like `<div><!-- some HTML sanitized from SimplePie --></div>`.
```
--- Expected
+++ Actual
@@ @@
'<ul>
- <li><div></div></li>
+ <li><div>
<li>Item</li>
-</ul>'
+</div></li></ul>'
```
When shown in a compliant Web browser, several tags will be wrongly closed, breaking the layout of the client.
This PR patches SimplePie to use the modern parser and code syntax, while maintaining a best-effort polyfill for legacy PHP versions < 8.4.
Depends on:
SimplePie: Upgrade to PHPStan 2
* https://github.com/FreshRSS/simplepie/pull/97
* https://github.com/simplepie/simplepie/pull/939
* https://github.com/simplepie/simplepie/pull/1019
SimplePie: Use PHP 8.4+ \Dom classes and functions
* https://github.com/FreshRSS/simplepie/pull/98
* https://github.com/simplepie/simplepie/issues/1021
SimplePie: Add unit test for HTML5 sanitizing compliance
* https://github.com/simplepie/simplepie/pull/1022
SimplePie: Remove obsolete xml_is_sane and XMLReader fallback
* https://github.com/simplepie/simplepie/pull/1023
CssXPath: Add support for case insensitivity
* https://github.com/phpgt/CssXPath/pull/256
fix https://github.com/FreshRSS/FreshRSS/issues/5201
fix https://github.com/FreshRSS/FreshRSS/issues/6830
fix https://github.com/FreshRSS/FreshRSS/issues/6831
~5% faster for HTML sanitising.
Remove SimpleXML. Remove XMLReader.
2026-11-19 23:17:04 +01:00
Corey Quinn and Alexandre Alapetite
e7fe44bf86
PostgreSQL: detect FreshRSS tables by visibility rather than owner ( #9535 )
...
* PostgreSQL: the owner was never the story, so stop asking who owns the tables
For as long as the install check has existed, it asked pg_tables who owned
the tables and compared that against the database login. Nobody asked why.
The login is a gateway user, the tables belong to whatever role ran the
install, and whenever those two names diverged the check reported the schema
as missing. Visibility was the question all along.
tablesAreCorrect() now asks pg_class which ordinary and partitioned tables
are visible on the search_path. If PostgreSQL can see it, it counts. A table
parked in a schema outside the path does not hide a missing one, and a view
named like a table is not a table.
The new test builds a role, a visible schema, a hidden schema, and a view
with a suspicious name, then checks that each answer is the true one. It runs
against a real PostgreSQL 18 service in CI. Locally it skips unless
FRESHRSS_TEST_PGSQL_DSN is set.
* Pin the CI Postgres service to a digest, because somebody moved the tag
For the record: nobody announced it. The postgres:18-alpine tag sat in
tests.yml like a loaded gun pointed at every CI run, and zizmor was the
first thing to notice it had no fixed identity at all. Remember the
Denver Airport. Remember that tags are not promises.
This commit replaces the mutable tag with the exact multi-arch digest the
suite was already tested against:
postgres:18-alpine@sha256:eaef288f54a90a909e49f0121d5d047a5e974e922699de4249625cf7cde34f36
This is not a version bump. Same image, same PostgreSQL 18, same Alpine
base. The only thing that changed is that the image can no longer be
swapped out from under us between Tuesday's green run and Thursday's
mystery failure.
Verification: all pre-commit PHP, test, JS, CSS and Markdown checks pass.
Local pedantic offline zizmor reports no findings. This resolves the
unpinned-service-image blocker on PR #9535 .
* Rewrite test a bit
* Fix make test-all
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2026-11-16 23:26:18 +01:00
dependabot[bot]
ebbe6cc985
chore(deps): bump the github-actions group with 3 updates ( #9523 )
...
Bumps the github-actions group with 3 updates: [docker/login-action](https://github.com/docker/login-action ), [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action ).
Updates `docker/login-action` from 4.6.0 to 4.7.0
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/dbcb813823bdd20940b903addbd779551569679f...81c6f93d4bc991e510b342a00b419b3bb4efc5c6 )
Updates `ruby/setup-ruby` from 1.329.0 to 1.335.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/651ff0d62c5c79bed6d53ec518387aae20e72c1a...7f797815d8adceb1c412e7abefdd1ab4abc47a5f )
Updates `zizmorcore/zizmor-action` from 0.7.1 to 0.8.0
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases )
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e...53290badfa369cb0bf7ad16342cb62c2fa47ac7b )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 4.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: ruby/setup-ruby
dependency-version: 1.335.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: zizmorcore/zizmor-action
dependency-version: 0.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-01 19:56:52 +01:00
Alexandre Alapetite
fd3f75b3a2
Require PHP 8.2+ ( #9470 )
...
Drop PHP 8.1 (EOL December 2025), drop Ubuntu 22.04 (EOL May 2027, and there is now 24.04 and 26.04 LTS).
PHP 8.1 is already EOL, and Debian, Alpine, Fedora, Red Hat, Synology have dropped PHP 8.1 already.
See https://github.com/FreshRSS/FreshRSS/discussions/5474#discussioncomment-16791937
With PHP 8.6 around the corner and in particular a relevant `FILTER_FLAG_GLOBAL_RANGE` in PHP 8.2+.
* https://www.php.net/releases/8.2
* https://www.php.net/filter.constants.validation#constant.filter-flag-global-range
* https://www.php.net/class.sensitiveparameter
* https://php.watch/versions/8.2/readonly-classes
* https://www.php.net/function.ini-parse-quantity
Allows updating to PHPUnit 11.x instead of 10.x
https://phpunit.de/supported-versions.html
Contributes to https://github.com/FreshRSS/FreshRSS/issues/9475
* Add regression test for FILTER_FLAG_GLOBAL_RANGE
https://github.com/FreshRSS/FreshRSS/pull/9470#discussion_r4371168720
2026-10-26 21:02:32 +01:00
Inverle
ce34a17e0c
Never fail lychee workflow on push events to reduce noise ( #9507 )
...
* Never fail lychee workflow on push events to reduce noise
Suggestion for https://github.com/FreshRSS/FreshRSS/pull/9209#issuecomment-6397901959
* Gentoo wiki temp ignore
2026-10-25 15:23:13 +01:00
dependabot[bot] and Alexandre Alapetite
743e0422b8
chore(deps): bump the github-actions group with 3 updates ( #9501 )
...
Bumps the github-actions group with 3 updates: [ruby/setup-ruby](https://github.com/ruby/setup-ruby ), [actions/setup-node](https://github.com/actions/setup-node ) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action ).
Updates `ruby/setup-ruby` from 1.327.0 to 1.329.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/14594264cd68ce8a2345dd349bc3d138a4ef85c8...651ff0d62c5c79bed6d53ec518387aae20e72c1a )
Updates `actions/setup-node` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1 )
Updates `zizmorcore/zizmor-action` from 0.6.4 to 0.7.1
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases )
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/cc914d7f3750a2d13d75c7f184a1060aa0e9d482...85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.329.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/setup-node
dependency-version: 7.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: zizmorcore/zizmor-action
dependency-version: 0.7.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2026-10-24 23:04:43 +02:00
Inverle
b8b657488d
Fix some broken links from CI scans ( #9495 )
...
* Fix some broken links from CI scans
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/9209 and https://github.com/FreshRSS/FreshRSS/pull/9207 .
See: https://github.com/FreshRSS/FreshRSS/pull/9209#issuecomment-6383267668
* Apply some selected redirects
* Escape . properly
2026-10-24 22:55:59 +02:00
Inverle
34b9bf43a2
Group auto dependency updates into one PR per ecosystem ( #9496 )
...
https://github.com/FreshRSS/FreshRSS/pull/9401#issuecomment-5984319483
(aside from npm exceptions for eslint, stylelint, ... and for separate composer.json: root and lib/)
2026-10-24 22:52:46 +02:00
Inverle and Alexandre Alapetite
456b9fbff5
Add a link checker workflow using lychee ( #9209 )
...
* Add a link checker workflow using lychee
Depends on #9207 (merged)
https://github.com/lycheeverse/lychee-action
* Adjust cron to run once every month instead
* Apply suggestions
* Pass zizmor's pedantic audit
* Set `failIfEmpty: false` for lychee action
* Add offline Lychee check to catch broken links after renames
* Add workaround for `--files-from` option not respecting `extensions`
* Escape `?` correctly in `.lycheeignore`
* Don't accept timeouts, retry instead
* Bump link checker workflow to `ubuntu-26.04`
* Always scope to host correctly in `.lycheeignore`
* Set `hidden = true` in config to ensure that dotfiles are scanned
* Exclude issue template from the scan
* with open
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2026-10-24 09:51:08 +02:00
Alexandre Alapetite
308b1726ec
CI/CD: Login to Docker Hub ( #9433 )
...
Fix Error: Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit
2026-10-11 10:41:18 +02:00
dependabot[bot]
4be1479702
chore(deps): bump ruby/setup-ruby from 1.326.0 to 1.327.0 ( #9406 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.326.0 to 1.327.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/762794c140bbeda0f1224786aa33b4b46783a6c1...14594264cd68ce8a2345dd349bc3d138a4ef85c8 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.327.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-04 22:58:53 +02:00
Inverle
3b60a4ac3b
Bump Ruby gems automatically with Dependabot for docs ( #9401 )
...
Previous Ruby gem version bumps were only triggered for security updates (since Dependabot was left unconfigured for bundler).
See: https://github.com/FreshRSS/FreshRSS/pulls?q=is%3Apr%20state%3Aclosed%20label%3Aruby%20author%3Aapp%2Fdependabot
2026-10-04 22:54:43 +02:00
dependabot[bot]
b3090b007e
chore(deps): bump ruby/setup-ruby from 1.324.0 to 1.326.0 ( #9381 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.324.0 to 1.326.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/a0102e0972be65f351c307e2d64b9314a57c8073...762794c140bbeda0f1224786aa33b4b46783a6c1 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.326.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 21:16:39 +02:00
dependabot[bot]
4bf9015b70
chore(deps): bump docker/setup-qemu-action from 4.3.0 to 4.4.0 ( #9380 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/1f40c72289eff860ee54a304f1438e3cff362e0a...99012661954931238ded8c8b007157a8430204e1 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: 4.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 21:11:09 +02:00
dependabot[bot]
c5ce9a84af
chore(deps): bump docker/setup-buildx-action from 4.3.0 to 4.4.1 ( #9379 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/37fe631027851001ddb9b187196cc803df7f5f0e...f87e5991a6d7451dcb8d9637bfbc97413f497069 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: 4.4.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 21:04:25 +02:00
dependabot[bot]
ab1c94f469
chore(deps): bump docker/build-push-action from 7.3.0 to 7.4.0 ( #9378 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/53b7df96c91f9c12dcc8a07bcb9ccacbed38856a...c3c9e263c25d99ce0380d002d59b67737d91b0dc )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-version: 7.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 20:58:12 +02:00
Inverle and Alexandre Alapetite
0285dc8970
Check SVG optimization in the tests CI workflow with SVGO ( #9361 )
...
* Check SVG optimization in the tests CI workflow with SVGO
Previously it was only recommended by the documentation that SVG images should be optimized using [SVGOMG](https://github.com/jakearchibald/svgomg ), the web GUI version of https://github.com/svg/svgo (CLI)
Now all SVG images are optimized, and optimization is mandatory enforced by the tests CI workflow.
\+ SVGs are sanitized of potentially malicious JS code using the https://svgo.dev/docs/plugins/removeScripts/ plugin
* Output prettified SVGs instead and remove unchanged files from stdout
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
* Use `removeScripts` SVGO plugin to reduce risk of malicious SVGs
* Move the CLI options to the JS config instead
* Disable `removeComments` plugin included in the default preset
* editorconfig, and easier config
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2026-09-29 16:18:01 +02:00
Alexandre Alapetite
e7f2f97d72
Fix CI warnings reported by zizmor ( #9331 )
2026-09-20 11:06:32 +02:00
dependabot[bot]
691616a6d0
chore(deps): bump zizmorcore/zizmor-action from 0.6.2 to 0.6.4 ( #9325 )
...
Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action ) from 0.6.2 to 0.6.4.
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases )
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/3dc1ecc9bcb9e94e9b2c709687979e1298497054...cc914d7f3750a2d13d75c7f184a1060aa0e9d482 )
---
updated-dependencies:
- dependency-name: zizmorcore/zizmor-action
dependency-version: 0.6.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-19 16:07:54 +02:00
dependabot[bot]
dc3d7677c2
chore(deps): bump docker/setup-qemu-action from 4.2.0 to 4.3.0 ( #9326 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/96fe6ef7f33517b61c61be40b68a1882f3264fb8...1f40c72289eff860ee54a304f1438e3cff362e0a )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: 4.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-19 16:04:47 +02:00
dependabot[bot]
6c330da06f
chore(deps): bump actions/deploy-pages from 5.0.0 to 5.0.1 ( #9324 )
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/cd2ce8fcbc39b97be8ca5fce6e763baed58fa128...368f82528645a54fb793d4d04e342629a3f51346 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-19 16:04:14 +02:00
Inverle
6625137a8e
Add zizmor workflow for action security checks ( #9228 )
...
* Add zizmor workflow for action security checks
https://docs.zizmor.sh/integrations/#github-actions
https://github.com/zizmorcore/zizmor-action
To avoid pushing unsafe actions and also for performing the scan automatically on each zizmor upgrade, in case there are any new unsafe behaviors to find.
* Zizmor fixes
* Set dependabot cooldowns to 7 days
* Fix workflow concurrency and improve code quality
* Use pedantic persona in zizmor workflow
2026-09-19 15:56:19 +02:00
Alexandre Alapetite and Inverle
cea88ace69
Reword explanations for edge/latest channels ( #9270 )
...
* Reword explanations for edge/latest channels
Highlight the fact that we do not backport bug fixes or security fixes to previous releases.
Simplify also a slightly obsolte MySQL doc to favour SQLite
* Merge i18n: az
* Update Polish translations to specify rolling/versioned releases
Co-authored-by: Inverle <inverle@proton.me >
* Update 05_Release_new_version.md
---------
Co-authored-by: Inverle <inverle@proton.me >
2026-09-08 23:25:18 +02:00
dependabot[bot]
13703ded5c
chore(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0 ( #9255 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/bb05f3f5519dd87d3ba754cc423b652a5edd6d2c...37fe631027851001ddb9b187196cc803df7f5f0e )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: 4.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-01 21:32:29 +02:00
Alexandre Alapetite and Frans de Jonge
2ceb78fefb
Dev updates: composer, hadolint, typos... ( #9219 )
...
* Dev updates: composer, hadolint, typos...
Composer compatibility PHP 8.6.
Manual updates not supported by Dependabot
* Fix hadolint
* Update lib/Minz/Url.php
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com >
* Add sha256sum for composer
---------
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com >
2026-08-18 09:36:01 +02:00
Thibaud-Vdb
9f00a04b11
Pin the docker publish actions and scope two workflow tokens ( #9200 )
...
* Pin the docker and pages actions to full commits
The docker-publish workflow logs into Docker Hub and pushes the
official images, and its actions were referenced by version tags. A
tag is a movable pointer, whoever controls an action repository can
point it at different code after review, which is how the
tj-actions/changed-files incident (CVE-2025-30066) leaked CI secrets
at scale. A full commit cannot be retargeted. setup-ruby and
dockerhub-description were already pinned this way here, this extends
the same practice to the rest.
Each pin keeps the version as a trailing comment for review against
the action's releases page, versions stay exactly where they were,
and dependabot bumps commit pins the same way it bumps tags.
* Declare token permissions on the tests and description workflows
Both ran with the repository's default token grants and neither
writes through the GitHub token, the Docker Hub description update
authenticates with its own credentials. They drop to a read only
token, matching what docker-publish and the pages workflow already
declare.
2026-08-16 22:32:36 +02:00
dependabot[bot]
3b9b453631
chore(deps): bump ruby/setup-ruby from 1.315.0 to 1.321.0 ( #9165 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.315.0 to 1.321.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/0dafeac902942906541bc140009cdbf32665b601...95ef2b042f9d7a56d8268cba8559e2842e2ad01b )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.321.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-01 22:42:43 +02:00
dependabot[bot]
6ef1b93a5a
chore(deps): bump actions/setup-node from 6 to 7 ( #9162 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 6 to 7.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-01 21:59:06 +02:00
Kobi Hikri
7afef6f689
CI: attach provenance and SBOM attestations to the published image ( #9150 )
...
adds an SBOM attestation, and pins the provenance mode explicitly instead of relying on the default
2026-07-29 16:24:49 +02:00
Frans de Jonge and Alexandre Alapetite
d519a8a9e6
AI skills: suggestion to limit the number of PRs ( #9141 )
...
* AI skills: suggestion to limit the number of PRs
* review comments
* tweak phrasing
* Bump to 10
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2026-07-23 13:13:47 +02:00
Inverle
6908d998d4
Fix .dockerignore being ignored during build in CI ( #9001 )
...
For example:
https://github.com/FreshRSS/FreshRSS/blob/f201061345fdacd8492e853053a63adb5686cd59/.dockerignore#L6
`/docs/` is included in `.dockerignore`, but currently if you check `docker exec freshrss ls -la`, you'll notice `/docs/` is being listed despite that.
This is because we are using git context for the build instead of path context, see: https://github.com/docker/build-push-action#git-context
Compare the runs https://github.com/Inverle/FreshRSS/actions/runs/28884689769/job/85681744466 and https://github.com/Inverle/FreshRSS/actions/runs/28885427454/job/85684280287 by CTRL+F'ing for `.dockerignore` in the `Build and push Docker images` step.
In the second run, a line `#5 [internal] load .dockerignore` is printed, but not in the first run without `context: .`
Additionally, it can be confirmed this fix is working by checking the `ghcr.io/inverle/freshrss:docker-testing-alpine` image for the `/docs/` directory.
2026-07-08 20:46:35 +02:00
ffc5a966c3
Migrate markdownlint-cli to markdownlint-cli2 (single config file) ( #8987 )
...
* Migrate markdownlint-cli to markdownlint-cli2
Replace markdownlint-cli with markdownlint-cli2 and consolidate the three
separate configuration points (.markdownlint.json rules, .markdownlintignore
excludes, and the '**/*.md' glob in the npm scripts) into a single
.markdownlint-cli2.jsonc holding config + globs + ignores.
The npm script names (markdownlint / markdownlint_fix) are unchanged, so the
CI step and the test/fix compound scripts need no change. markdownlint-cli2
v0.23.0 bundles the same markdownlint v0.41.0, so linting behaviour is
identical (112 files, 0 errors).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
* Add JSONC to .editorconfig
* Reduce obvious comments
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2026-07-05 14:18:49 +02:00
dependabot[bot]
e8bcb4021d
chore(deps): bump ruby/setup-ruby from 1.310.0 to 1.315.0 ( #8959 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.310.0 to 1.315.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/afeafc3d1ab54a631816aba4c914a0081c12ff2f...0dafeac902942906541bc140009cdbf32665b601 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.315.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 20:57:35 +02:00
dependabot[bot]
334796d1c4
chore(deps): bump actions/cache from 5 to 6 ( #8961 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 5 to 6.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 20:57:09 +02:00
dependabot[bot]
ddf2976e83
chore(deps): bump actions/checkout from 6 to 7 ( #8963 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 20:56:45 +02:00
dependabot[bot]
7d1a76da6b
chore(deps): bump ruby/setup-ruby from 1.306.0 to 1.310.0 ( #8905 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.306.0 to 1.310.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/c4e5b1316158f92e3d49443a9d58b31d25ac0f8f...afeafc3d1ab54a631816aba4c914a0081c12ff2f )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.310.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 08:29:39 +02:00
polybjorn and Bjørn A. Andersen
4b96b01460
chore(docs): upgrade Jekyll 3 to 4 and Ruby to 3.4.9 ( #8772 )
...
Jekyll 3 is unmaintained and its safe_yaml dependency breaks on
Ruby 3.4+ where base64 left the default stdlib. The docs workflow
already runs `bundle exec jekyll build` directly, so GitHub Pages'
Jekyll 3 lock does not apply here.
Changes:
* Pin `jekyll ~> 4.3`. Replace `jekyll-commonmark-ghpages` (pinned
to Jekyll 3) with upstream `jekyll-commonmark`. Drop unused
`jekyll-paginate`. Add `gem 'base64'` so the lockfile stays valid
on Ruby 3.4+ where it became a bundled gem.
* Move CommonMark options into `_config.yml` to match what the
`-ghpages` variant enabled by default: SMART, FOOTNOTES, UNSAFE
(so inline HTML like `<br>` in tables still renders), plus the
strikethrough, autolink, table, and tagfilter extensions. Set
Rouge as the highlighter.
* Strip the leading slash from `defaults.scope.path` (`/en/*` to
`en`). Jekyll 4 requires no leading slash, otherwise `page.lang`
silently fails to propagate and `jekyll-i18n_tags` crashes the
build.
* Pass `generateId=true` to the existing `anchor_headings.html`
include so headings get slugified IDs. The `-ghpages` variant
produced these by default.
* Bump CI Ruby to 3.4.9 and `cache-version` to invalidate the old
Jekyll 3 gem cache on the first run.
Build is about 9x faster (1.0s vs 9.2s). Compared the rendered
output page by page against the Jekyll 3 baseline; remaining
differences are whitespace, footnote class names (no CSS depends
on either set), and one HTML entity (`↩`) becoming the
literal `↩`. Visually and functionally the same.
Co-authored-by: Bjørn A. Andersen <polybjorn@users.noreply.github.com >
2026-05-03 14:17:55 +02:00
dependabot[bot]
ee1ab9285c
Bump actions/upload-pages-artifact from 4 to 5 ( #8756 )
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 13:26:09 +02:00
dependabot[bot]
292b19c950
Bump docker/metadata-action from 5 to 6 ( #8757 )
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 11:22:54 +02:00
dependabot[bot]
7afeb1d83f
Bump docker/setup-buildx-action from 3 to 4 ( #8758 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 10:40:26 +02:00
dependabot[bot]
256f0707b1
Bump actions/configure-pages from 5 to 6 ( #8755 )
...
Bumps [actions/configure-pages](https://github.com/actions/configure-pages ) from 5 to 6.
- [Release notes](https://github.com/actions/configure-pages/releases )
- [Commits](https://github.com/actions/configure-pages/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/configure-pages
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 10:37:16 +02:00
dependabot[bot]
ad0b278afc
Bump ruby/setup-ruby from 1.299.0 to 1.306.0 ( #8754 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.299.0 to 1.306.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/3ff19f5e2baf30647122352b96108b1fbe250c64...c4e5b1316158f92e3d49443a9d58b31d25ac0f8f )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.306.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 09:55:52 +02:00
Timon Klinkert
d5f3126d6c
Also push to github registry ( #8669 )
...
Closes https://github.com/FreshRSS/FreshRSS/issues/8647
Changes proposed in this pull request:
- add push to ghcr
2026-04-03 22:34:05 +02:00
dependabot[bot]
bbf772af53
Bump docker/setup-qemu-action from 3 to 4 ( #8664 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 11:24:35 +02:00
dependabot[bot]
cb497e4055
Bump actions/deploy-pages from 4 to 5 ( #8665 )
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 4 to 5.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 10:49:42 +02:00
dependabot[bot]
6d1736d398
Bump docker/build-push-action from 6 to 7 ( #8662 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 09:32:59 +02:00
dependabot[bot]
48a6275620
Bump docker/login-action from 3 to 4 ( #8666 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 09:27:33 +02:00
dependabot[bot]
c7bd02a933
Bump ruby/setup-ruby from 1.288.0 to 1.299.0 ( #8667 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.288.0 to 1.299.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/09a7688d3b55cf0e976497ff046b70949eeaccfd...3ff19f5e2baf30647122352b96108b1fbe250c64 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.299.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 09:21:53 +02:00