Skip to content
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

Create a github CI bot to sync up all the repos #155

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

MridulS
Copy link
Member

@MridulS MridulS commented Apr 12, 2024

I think I have caught most of the projects that use the copier template.

This will not work right now as it requires a user PAT and I can't add org tokens to scipp.

We can create a scipp bot account on github so we can use it's PAT to make sure it is clear that the PR was created by an automated action and not one of our's personal token. (I am fine just using my account too)

@MridulS
Copy link
Member Author

MridulS commented Apr 12, 2024

Another thing to keep in mind is that this will generate a bunch of merge conflicts (copier stores them as .rej files) all around as it seems like some of the projects haven't been kept in sync with the template.

Copy link
Member

@SimonHeybrock SimonHeybrock left a comment

Choose a reason for hiding this comment

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

My main comment is: Can/should this be a downstream cron-workflow instead?

@MridulS
Copy link
Member Author

MridulS commented Apr 15, 2024

I have updated to create the action as part of the downstream package.

The quickest way to test this out would be to merge this PR in and I can try on one of the packages.

We would still need to run a manual updates for all the packages to bring the up to date with the current template.

@MridulS MridulS enabled auto-merge April 15, 2024 14:26
@MridulS MridulS merged commit 7deabab into scipp:main Apr 15, 2024
2 checks passed
@MridulS MridulS deleted the auto_update branch April 16, 2024 08:03
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