Skip to content

Conversation

@jamietanna
Copy link
Contributor

@jamietanna jamietanna commented Dec 5, 2025

Changes

As it currently fails because we only have contents:read i.e.


ERROR: Error getting query results
       "err": {
         "cmd": "/bin/sh -c gh issue list --json \"title,number,url,labels\" --search \"type:Bug\" --limit 1000",
         "stderr": "gh: To use GitHub CLI in automation, set the GH_TOKEN environment variable.\n",
         "stdout": "",
         "options": {
           "encoding": "utf-8",
           "env": ["CI", "HOME", "PATH", "LANG"],
           "maxBuffer": 10485760,
           "timeout": 900000
         },
         "exitCode": 4,
         "name": "ExecError",
         "message": "Command failed: gh issue list --json \"title,number,url,labels\" --search \"type:Bug\" --limit 1000\ngh: To use GitHub CLI in automation, set the GH_TOKEN environment variable.\n",
         "stack": "ExecError: Command failed: gh issue list --json \"title,number,url,labels\" --search \"type:Bug\" --limit 1000\ngh: To use GitHub CLI in automation, set the GH_TOKEN environment variable.\n\n    at ChildProcess.<anonymous> (/home/runner/work/renovate/renovate/lib/util/exec/common.ts:120:11)\n    at ChildProcess.emit (node:events:520:35)\n    at ChildProcess.emit (node:domain:489:12)\n    at ChildProcess._handle.onexit (node:internal/child_process:294:12)"
       }
ERROR: Unexpected error
       "err": {
         "cmd": "/bin/sh -c gh issue list --json \"title,number,url,labels\" --search \"type:Bug\" --limit 1000",
         "stderr": "gh: To use GitHub CLI in automation, set the GH_TOKEN environment variable.\n",
         "stdout": "",
         "options": {
           "encoding": "utf-8",
           "env": ["CI", "HOME", "PATH", "LANG"],
           "maxBuffer": 10485760,
           "timeout": 900000
         },
         "exitCode": 4,
         "name": "ExecError",
         "message": "Command failed: gh issue list --json \"title,number,url,labels\" --search \"type:Bug\" --limit 1000\ngh: To use GitHub CLI in automation, set the GH_TOKEN environment variable.\n",
         "stack": "ExecError: Command failed: gh issue list --json \"title,number,url,labels\" --search \"type:Bug\" --limit 1000\ngh: To use GitHub CLI in automation, set the GH_TOKEN environment variable.\n\n    at ChildProcess.<anonymous> (/home/runner/work/renovate/renovate/lib/util/exec/common.ts:120:11)\n    at ChildProcess.emit (node:events:520:35)\n    at ChildProcess.emit (node:domain:489:12)\n    at ChildProcess._handle.onexit (node:internal/child_process:294:12)"
       }

Follow-up to #39801

Context

Please select one of the below:

  • This closes an existing Issue: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

@jamietanna jamietanna requested a review from viceice December 5, 2025 17:19
@jamietanna jamietanna enabled auto-merge December 5, 2025 17:20
@jamietanna jamietanna added this pull request to the merge queue Dec 5, 2025
Merged via the queue into main with commit bbd30ce Dec 5, 2025
41 checks passed
@jamietanna jamietanna deleted the defect/build branch December 5, 2025 17:28
jamietanna added a commit that referenced this pull request Dec 5, 2025
jamietanna added a commit that referenced this pull request Dec 5, 2025
* Revert "fix(docs): wire in `GH_TOKEN` for `gh` CLI (#39812)"

This reverts commit 295eaac.

* Revert "fix(docs): add required permissions for `build:docs` (#39809)"

This reverts commit bbd30ce.

* Revert "fix(docs): look up open issues on `main` builds for Renovate docs (#39801)"

This reverts commit ae46c57.
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

🎉 This PR is included in version 42.38.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants