Skip to content

fix(ci): consistency fixes - #281

Open
yeoldegrove wants to merge 12 commits into
mainfrom
feat/workflow-consistency-fixes
Open

yeoldegrove wants to merge 12 commits into
mainfrom
feat/workflow-consistency-fixes

Conversation

@yeoldegrove

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Make documentation CI more consistent and reliable across the public and internal repositories.

  • Fix reusable-workflow permissions, required test checks, and docs-PR updates.
  • Improve payload validation, internal authentication, and source-origin handling.
  • Align action versions, dependency installation, link checking, and caching.
  • Add focused pytest regression tests, run through make test-workflows.

Validation

Full pytest suites, workflow regression tests, and actionlint pass in both repositories.

Replace the obsolete requirements.txt test and skip filters with pyproject.toml and poetry.lock, and update the skip-job message.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Remove unused actions and packages permissions so nested docs checks do not request permissions their caller cannot grant.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Require successful change detection and an explicit false result before skipping checks; failed or missing detection outputs can no longer pass the gate.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Validate repository, PR, SHA, event and Git ref before issuing an App token; pass payload values through environment variables instead of executable shell or JavaScript interpolation.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Use the supported ready-for-review and convert-to-draft mutations when an existing PR changes state, rather than passing an unsupported draft field to the REST update API.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Replace overlapping test and skip workflows with one always-triggered check that detects relevant changes, runs regression tests, and preserves the existing required pytest check name.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Treat an already-current lock as a successful no-op and skip branch publication, PR creation and source comments when no configuration change is required.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Serialize notifications per source PR and check the live source revision before updating a lock, preventing concurrent or stale notifications from overwriting newer state.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Quote the recursive Markdown glob so lychee sees root and deeply nested files, and use the same index-file resolution as the local link-check command.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Save each run under a unique cache key while restoring the latest cache for the same OS, lychee version and configuration, avoiding permanently stale immutable caches.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
Pin the remaining checkout actions to immutable SHAs and install woke v0.19.0 instead of latest so workflow tooling cannot change unexpectedly between runs.

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: opencode:gpt-6.1-sol
@yeoldegrove yeoldegrove added this to the 2026-12 milestone Dec 2, 2026
@yeoldegrove
yeoldegrove requested a review from ByteOtter December 2, 2026 15:54
@yeoldegrove yeoldegrove self-assigned this Dec 2, 2026
@yeoldegrove yeoldegrove changed the title Feat/workflow consistency fixes fix(ci): consistency fixes Dec 2, 2026
@yeoldegrove
yeoldegrove requested a review from sramapu December 2, 2026 15:57
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants