Skip to content

Conversation

@owlstronaut
Copy link
Contributor

@owlstronaut owlstronaut commented Oct 30, 2025

Oftentimes, the template-oss-apply workflow won't trigger the CI to run on repos. It seems to be a timing thing and can just randomly happen. Rather than trying to run the CI on each repo individually, this will find all npm-cli repos with an indeterminate state and close and reopen them. I wanted to just trigger "CI" to run against each PR, but since it doesn't trigger a pull_request action, it wouldn't actually update the status of the PR. The best way to make it work while allowing the person to still review/merge (so not pushing code and requiring someone else to review) was to just close and reopen the prs.

Usage (provided in help text):
npx -p @npmcli/stafftools@latest gh template-oss trigger-ci --table

@owlstronaut owlstronaut requested a review from a team as a code owner October 30, 2025 15:30
@owlstronaut owlstronaut force-pushed the owlstronaut/trigger-template-ci branch from 4805267 to 28895db Compare October 30, 2025 15:34
@owlstronaut owlstronaut force-pushed the owlstronaut/trigger-template-ci branch from 28895db to ace94f5 Compare October 30, 2025 15:54
@owlstronaut
Copy link
Contributor Author

Screenshots from run:

image image

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