Skip to content

Fix stale workflow authentication using GITHUB_TOKEN#6

Open
Sawsqr68 with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-authentication-parameter-error
Open

Fix stale workflow authentication using GITHUB_TOKEN#6
Sawsqr68 with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-authentication-parameter-error

Conversation

Copilot AI commented Jan 1, 2026

Copy link
Copy Markdown

The stale issues workflow was failing with "Parameter token or opts.auth is required" because it referenced secrets.YARNBOT_TOKEN, which doesn't exist in this forked repository.

Changes

  • Updated .github/workflows/stale-workflow.yml to use secrets.GITHUB_TOKEN instead of secrets.YARNBOT_TOKEN

The GITHUB_TOKEN is automatically provisioned by GitHub Actions and has sufficient permissions for issue management operations.

- uses: actions/stale@v6
  with:
-   repo-token: ${{secrets.YARNBOT_TOKEN}}
+   repo-token: ${{secrets.GITHUB_TOKEN}}
Original prompt

Reference: https://github.com/Sawsqr68/berry_s/actions/runs/20637761548/job/59265064554#step:2:1

Error: Error: Parameter token or opts.auth is required


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…ARNBOT_TOKEN

Co-authored-by: Sawsqr68 <173052944+Sawsqr68@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix authentication parameter error in API call Fix stale workflow authentication using GITHUB_TOKEN Jan 1, 2026
Copilot AI requested a review from Sawsqr68 January 1, 2026 11:28
@Sawsqr68
Sawsqr68 marked this pull request as ready for review January 1, 2026 11:36
@Sawsqr68
Sawsqr68 requested review from Sawsqr68 and Copilot and removed request for Copilot January 1, 2026 11:36
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