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

updated repo to use team github app #41

Merged
merged 3 commits into from
Aug 8, 2023
Merged

Conversation

Bullrich
Copy link
Collaborator

@Bullrich Bullrich commented Aug 8, 2023

Now that https://github.com/paritytech/internal_it/issues/205 has been completed, this change removes my personal access token and replaces it for the GitHub App.

@Bullrich Bullrich added this to the Project launch milestone Aug 8, 2023
@Bullrich Bullrich self-assigned this Aug 8, 2023
@Bullrich Bullrich requested a review from a team as a code owner August 8, 2023 11:34
The step array was wrong. Now it will look in the correct place.

Also, it will not run outside of PRs
@Bullrich Bullrich merged commit b1c2c41 into main Aug 8, 2023
7 checks passed
@Bullrich Bullrich deleted the update-repo-to-use-app branch August 8, 2023 11:44
# !This must always point to main.
# Change it for the PRs but remember to change it back
- uses: paritytech/review-bot@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
team-token: ${{ secrets.TEST_TEAM_TOKEN }}
team-token: ${{ steps.team_token.outputs.token }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it make sense to use its own (review bot) app? i am afraid how we gonna find out where the team app's id/key being used outside of list-team-members ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It could make sense, but because it is being used for exactly the same requirements than list-team-members I thought that we could recycle that app.

For the new org we will need to create a new app anyways.

Copy link
Contributor

Choose a reason for hiding this comment

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

then if this app dies or something else changes, would be useful to have the list of things app needs to access read/write. Just to recover quickly and for sure

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I'll be adding it to the README eventually.

It just need read: org permissions. Nothing else.

You can find a comment telling that here

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.

2 participants