Skip to content

Conversation

@AlexanderKaran
Copy link
Collaborator

Never done this before but this should work, flow will be as follows:

  • Any merge to main that alters key folders triggers the action
  • Action opens up the code
  • Run script and runs format
  • Puts in PR
  • If CI pass auto merges PR

For this to work I will need to make changes to the settings and actions. Currently do not have permissions for this @43081j

@AlexanderKaran AlexanderKaran requested a review from 43081j January 5, 2026 07:36
@AlexanderKaran
Copy link
Collaborator Author

@43081j Moved to the CLI however still need to edit some settings for this to work that I do not have access to

@43081j
Copy link
Contributor

43081j commented Jan 5, 2026

ill take a look at permissions soon if i can 👍

meanwhile i did quickly enable the "create PRs" permission, which is presumably the one this needs

workflow looks good to me overall too 🎉

@AlexanderKaran
Copy link
Collaborator Author

ill take a look at permissions soon if i can 👍

meanwhile i did quickly enable the "create PRs" permission, which is presumably the one this needs

workflow looks good to me overall too 🎉

I think there is auto merge and auto delete too right?

@43081j
Copy link
Contributor

43081j commented Jan 6, 2026

the only options we're given are if a PR can create PRs or not, and if all workflows have write access by default

we shouldn't have to change the default since you can configure that per workflow via permission: (and can't anyway since it means we have to change it for the entire org).

i think this should work with the current permissions 👀

@AlexanderKaran
Copy link
Collaborator Author

Sweet will give it a go then

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