Skip to content

Conversation

@KolbyML
Copy link
Member

@KolbyML KolbyML commented Feb 16, 2025

What was wrong?

image
Currently every time our CI dependencies bot runs it commits under a user account, instead of github actions bot.

This PR and commit isn't being made by a user, it is being made by github actions bot account, so we probably shouldn't be comitting it under a user's account

How was it fixed?

I tested this locally on my fork KolbyML#5

image

Now it commits the update dependencies commit under the bots account

name: Update
runs-on: ubuntu-latest
permissions:
contents: write
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need the both permissions set to write?

Copy link
Member Author

Choose a reason for hiding this comment

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

I just removed the unneeded permissions as it appears to work without it KolbyML#6

I added it as apparently in certain conditions it can be required it looks like

https://github.com/peter-evans/create-pull-request?tab=readme-ov-file#token
image

@KolbyML KolbyML requested a review from ogenev February 17, 2025 10:43
@KolbyML KolbyML merged commit 1d89ce6 into ethereum:master Feb 17, 2025
14 checks passed
oac1771 pushed a commit to oac1771/trin that referenced this pull request Feb 23, 2025
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