Fix docs deploy reusable workflow permissions - #256
Merged
Conversation
reakaleek
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
packages: readpermission from the reusable docs deploy build job.elastic/kibana.Why
Kibana
docs-deploystarted failing at GitHub Actions startup afterelastic/docs-actions@v1moved fromc38b028to70803e3. The first failing run resolved the reusable workflow at70803e3; the previous successful run resolvedc38b028.The relevant change came from #159 /
dd305cc, which addedpackages: readto.github/workflows/docs-deploy.yml. Kibana's caller workflow does not grantpackages, so GitHub rejects the reusable workflow before creating jobs or logs.Why this started now
#159 has an old PR number because it was opened on 2026-05-16, but it was not merged until 2026-07-29T01:06:47Z. It was first included in a published release when
1.38.1went out at 2026-07-29T10:29:13Z.The release history is linear by git ancestry, even though the PR numbers in the release notes are not chronological. The commits between
1.38.0and1.38.1were:9f79596changelog: Document implicit PR_BODY env consumption #225fea018bAdd Slack failure alert to create-major-tag workflow #252dd305ccsecurity: harden docs-builder, changelog, and workflow trust boundaries #15970803e3slack/notify-status: include workflow run attempt in status notifications #254The
create-major-tagworkflow updates the floatingv1tag when a release is published. Kibana's last successfuldocs-deployrun resolved@v1toc38b028(1.38.0) at 2026-07-29T10:27:35Z. The first startup failure resolved@v1to70803e3(1.38.1) at 2026-07-29T10:30:23Z.Validation
git diff --checkactionlint v1.7.12 .github/workflows/docs-deploy.yml