Skip to content

Allow users to specify an external repo to close issues/PRs in #1267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

devjoes
Copy link

@devjoes devjoes commented Jul 1, 2025

Description:
We have an internal repo that runs workflows on PR closure. The GITHUB_TOKEN will not trigger these workflows and a PAT token would have to be used. Thousands of engineers have write access to this repo and could therefor potentially exfiltrate any secrets within the repo, so we want to host our PAT token outside the repository.

NB: I've not touched src/classes/state/state-cache-storage.ts as it made sense to keep the state in the same repo where the action ran.

Related issue:
Raising the PR as the issue since I've already written the code.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@devjoes devjoes requested a review from a team as a code owner July 1, 2025 09:37
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.

1 participant