Skip to content

ci: replace compromised issues helper action#1710

Merged
meteorlxy merged 1 commit into
vuepress:mainfrom
TheAlexLichter:fix/remove-compromised-issues-helper
May 19, 2026
Merged

ci: replace compromised issues helper action#1710
meteorlxy merged 1 commit into
vuepress:mainfrom
TheAlexLichter:fix/remove-compromised-issues-helper

Conversation

@TheAlexLichter
Copy link
Copy Markdown
Contributor

@TheAlexLichter TheAlexLichter commented May 19, 2026

Replaces the compromised GH Action (see source) with a GH script.

@TheAlexLichter TheAlexLichter marked this pull request as ready for review May 19, 2026 09:33
@meteorlxy meteorlxy requested a review from Copilot May 19, 2026 09:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes usage of the compromised third-party actions-cool/issues-helper@v3 GitHub Action and replaces it with equivalent logic implemented via the preinstalled gh CLI (GitHub Script-style shell steps), reducing supply-chain risk in the repo’s issue automation workflows.

Changes:

  • Replaced “close invalid issue” and “comment for need reproduction” automations with gh issue comment/close.
  • Replaced daily “label stale / close stale / close need reproduction” automations with GitHub Search API queries + gh issue edit/comment/close.
  • Replaced “remove stale label on comment” automation with a direct gh api label deletion call, and ensured issues: write permissions are set.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/issue-labeled.yml Uses gh CLI to comment and/or close issues when specific labels are applied.
.github/workflows/issue-daily.yml Uses GitHub Search API via gh api to find inactive issues, label them stale + comment, and close inactive labeled issues.
.github/workflows/issue-commented.yml Removes the stale label on new comments using a direct GitHub REST API call via gh api, with explicit issues: write permission.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@meteorlxy meteorlxy merged commit cc37a2d into vuepress:main May 19, 2026
22 checks passed
@meteorlxy
Copy link
Copy Markdown
Member

@TheAlexLichter Thanks a lot!

@TheAlexLichter TheAlexLichter deleted the fix/remove-compromised-issues-helper branch May 19, 2026 14:07
@TheAlexLichter
Copy link
Copy Markdown
Contributor Author

Also thanks to @connorshea for letting me know!

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