Conversation
…equirements Agent-Logs-Url: https://github.com/github/gh-aw/sessions/5458d9dc-e5c0-409a-bcf9-ae4c5b1d06c2 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
May 4, 2026 18:33
View session
Copilot stopped work on behalf of
pelikhan due to an error
May 4, 2026 18:33
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes smoke-water.yml failing with startup_failure by aligning the caller job’s permissions with the permissions requested by the called reusable workflow.
Changes:
- Add
actions: readto thecall-smoke-workflow-calljob permissions in.github/workflows/smoke-water.yml.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/smoke-water.yml |
Grants actions: read at the caller job level so the reusable workflow’s activation job permissions are satisfied, preventing startup_failure. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
Copilot AI
added a commit
that referenced
this pull request
May 4, 2026
…equirements (#30197) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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.
Root Cause
smoke-water.ymlhas been failing withstartup_failure(0 jobs) since April 7, 2026. Every run since then returnsstartup_failurebefore any job can execute.Investigation
The failure was traced to commit
d7bd4dce79(Apr 7) which addedactions: readto theactivationjob's permissions insmoke-workflow-call.lock.yml. However, the calling workflowsmoke-water.ymlwas not updated to grant this permission to the job that calls the reusable workflow.In GitHub Actions, when using
workflow_call, the called workflow's jobs can only use permissions that the caller's job explicitly grants. If a callee job requests a permission not listed in the caller's jobpermissionsblock, the entire workflow fails withstartup_failurebefore any jobs run.Permissions mismatch (before fix):
activationjob required:actions: read,contents: readsmoke-water.ymljob granted:contents: read,discussions: write,issues: write,pull-requests: writeactions: read← caused startup_failureFix
Add
actions: readtosmoke-water.yml's job-levelpermissionsblock so the callee'sactivationjob can use it.