Skip to content

Conversation

@guaaaaa
Copy link

@guaaaaa guaaaaa commented Apr 13, 2025

Overview

  • Resolves #

Unit Tests Created

Steps to QA

Mustaballer
Mustaballer previously approved these changes Apr 13, 2025
- name: Set up Git identity
run: |
git config --global user.name "IEEEAutomationBot"
git config --global user.email "webmaster@ieee.utoronto.ca"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm assuming this user has the necessary permissions to submit PRs for the other repos

Copy link
Contributor

@carmen-chau carmen-chau May 25, 2025

Choose a reason for hiding this comment

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

I'm assuming this user has the necessary permissions to submit PRs for the other repos

I think this is probably covered by grabbing the GH_TOKEN from what I presume is this hackathon template repo (secrets config settings), @guaaaaa correct me if I'm wrong

Copy link
Author

Choose a reason for hiding this comment

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

Yes, this is user should have all access (if i set everything correctly). The GH_TOKEN is for authorization purpose.

You can see more details here in the "GitOps" section https://docs.google.com/document/d/1LMUwCeKUJjQRd3DhIZ-CZVeheR7SCSmE/edit?usp=sharing&ouid=111047183552148011769&rtpof=true&sd=true

FORKS=(
"ieeeuoft/newhacks"
# Add other forked repos here, like:
# "ieeeuoft/hardware"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add MakeUofT as well?

Copy link
Contributor

Choose a reason for hiding this comment

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

  • maybe add a comment for something like ieeeuoft/aws if AWS is still occuring

Copy link
Author

Choose a reason for hiding this comment

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

I added aws and makeuoft as a comment for now since those repos do not exist yet. I will test everything with newhacks only first, then i'll work on those repos

git push origin $BRANCH_NAME

gh pr create --repo $FORK \
--title "🔄 Sync from hackathon-template" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Are all PRs created will have the same PR title? If there is multiple PRs with the same title it would be confusing.

Copy link
Contributor

@carmen-chau carmen-chau May 25, 2025

Choose a reason for hiding this comment

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

I agree, maybe we can integrate variable $REPO_NAME in the commit message and body to better differentiate?

Copy link
Author

Choose a reason for hiding this comment

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

I took a note of this and will come back to this. For now, i'll first make sure the process can create a PR

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.

4 participants