Grant write-all permission for auto-bump workflow#966
Merged
Conversation
Goooler
commented
Jan 21, 2026
| bump: | ||
| runs-on: macos-latest | ||
| if: github.event.repository.fork == false | ||
| permissions: write-all |
Collaborator
Author
There was a problem hiding this comment.
I tested the bump workflow without this permission at Goooler#3, using secrets.GITHUB_TOKEN instead of secrets.GH_TOKEN. This should explain the failures.
Fixes errors like: ``` remote: Permission to dahlia/homebrew-jetbrains-eap.git denied to hong-bot. fatal: unable to access 'https://github.com/dahlia/homebrew-jetbrains-eap/': The requested URL returned error: 403 Error: Failure while executing; `/usr/bin/env git push --set-upstream ***github.com/dahlia/homebrew-jetbrains-eap bump-intellij-idea-eap-2026.1-261.17801.55:bump-intellij-idea-eap-2026.1-261.17801.55` exited with 128. Here's the output: remote: Permission to dahlia/homebrew-jetbrains-eap.git denied to hong-bot. fatal: unable to access 'https://github.com/dahlia/homebrew-jetbrains-eap/': The requested URL returned error: 403 ``` Copied from https://github.com/Goooler/homebrew-repo/blob/3048e83471efa2c806e92e74c91633cbfcc4c18e/.github/workflows/autobump.yml#L21
dec7495 to
806da32
Compare
Collaborator
Author
|
https://github.com/dahlia/homebrew-jetbrains-eap/actions/runs/21194123634/job/60966417771?pr=966 The failure is related to the limitations of forked repos, we can ignore it. |
dahlia
approved these changes
Jan 21, 2026
Collaborator
Author
|
Still failed. See https://github.com/dahlia/homebrew-jetbrains-eap/actions/runs/21195084271/job/60969156650 @dahlia Would you mind grant your bot @hong-bot write access to this repo? Otherwise we have to change the |
Owner
|
@Goooler Granted, thanks! |
Collaborator
Author
|
Right, everything works in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes errors like:
Copied from https://github.com/Goooler/homebrew-repo/blob/3048e83471efa2c806e92e74c91633cbfcc4c18e/.github/workflows/autobump.yml#L21