Skip to content

Fix reusable workflow permissions and make vale-report self-contained#28

Merged
Mpdreamz merged 1 commit intomainfrom
feature/fix-permissions
Mar 25, 2026
Merged

Fix reusable workflow permissions and make vale-report self-contained#28
Mpdreamz merged 1 commit intomainfrom
feature/fix-permissions

Conversation

@Mpdreamz
Copy link
Member

Summary

  • docs-build.yml: Remove top-level and check job pull-requests: read permissions so callers that only grant contents: read no longer hit a startup failure (failing run).
  • docs-deploy.yml: Make vale-report self-contained — checkout, get changed files, run elastic/vale-rules/lint, then report — instead of downloading artifacts from the phase 1 build, which caused "no artifacts found" failures (failing run).
  • Updated enable-vale-linting input description to remove stale "Phase 1 must also enable" note.

Test plan

  • Trigger a docs-build run from a caller that only grants contents: read (e.g. docs-content) — should no longer fail at startup
  • Trigger a docs-deploy run with enable-vale-linting: true — vale-report should run successfully without relying on phase 1 artifacts

Made with Cursor

Make the vale-report job in docs-deploy.yml run vale directly instead of
downloading artifacts from the phase 1 build workflow, avoiding "no
artifacts found" failures.

Made-with: Cursor
@Mpdreamz Mpdreamz force-pushed the feature/fix-permissions branch from 535bf34 to b9ac695 Compare March 25, 2026 15:01
@Mpdreamz Mpdreamz added the fix label Mar 25, 2026
@Mpdreamz Mpdreamz merged commit 0c84e02 into main Mar 25, 2026
2 of 3 checks passed
@Mpdreamz Mpdreamz deleted the feature/fix-permissions branch March 25, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant