Skip to content

[stable32] fix: skip deploy PR when only lastupdated timestamps or epub/pdf changed#15061

Merged
skjnldsv merged 2 commits into
stable32from
backport/15049/stable32
Jun 1, 2026
Merged

[stable32] fix: skip deploy PR when only lastupdated timestamps or epub/pdf changed#15061
skjnldsv merged 2 commits into
stable32from
backport/15049/stable32

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Jun 1, 2026

Backport of PR #15049

Copilot AI added 2 commits June 1, 2026 20:16
When Sphinx rebuilds documentation without any content changes, it still
updates the `<span class="lastupdated">` date in every HTML file and
regenerates epub/pdf binaries. This caused a noisy automated PR (e.g.
#15046) with no meaningful content change.

The `has_changes` check in the deploy job now ignores:
- HTML lines matching `lastupdated` or `Last updated on`
- epub and pdf binary files (which regenerate alongside HTML)

If all changes fall into those categories, no PR is created.
@backportbot backportbot Bot requested a review from miaulalala June 1, 2026 20:16
@backportbot backportbot Bot added 3. to review github_actions Pull requests that update GitHub Actions code labels Jun 1, 2026
@backportbot backportbot Bot added this to the Nextcloud 32.0.11 milestone Jun 1, 2026
@skjnldsv skjnldsv enabled auto-merge June 1, 2026 20:16
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

📖 Documentation Preview

🔍 Open preview →

No RST documentation pages changed in this PR.

Last updated: Mon, 01 Jun 2026 20:21:32 GMT

@skjnldsv skjnldsv merged commit 9c8ad4b into stable32 Jun 1, 2026
22 checks passed
@skjnldsv skjnldsv deleted the backport/15049/stable32 branch June 1, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants