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

Sorry, only users with push access can use that command. #144

Open
rickyrauch opened this issue May 24, 2022 · 5 comments
Open

Sorry, only users with push access can use that command. #144

rickyrauch opened this issue May 24, 2022 · 5 comments

Comments

@rickyrauch
Copy link

rickyrauch commented May 24, 2022

Hello !

I know there are many issues related to this problem but still can't make it to work.

The repo is under our organization and I created the new token under my personal account.

Screen Shot 2022-05-24 at 11 02 39 AM

This is the output of the action:
Screen Shot 2022-05-24 at 11 06 36 AM

Thanks!

@MerlinMason
Copy link

I'm struggling with the same issue too, also in a private organisation repo. I've given the job the following permissions

permissions:
  pull-requests: write
  contents: write

But also get the same automated comment back.

@ahmadnassri
Copy link
Owner

apologies for delayed follow up, I've been dealing with personal issues and have not had time to help debug.

any community member help is more than appreciated.

though a quick hint would be to try using PAT (Personal Access Tokens) if you're blocked as I've found more success with those than the generated tokens by github.

I'm hoping next week will be a time I can get some apace for myself to catch up on this and other projects

@finnSMB
Copy link

finnSMB commented Aug 22, 2022

@rickyrauch @MerlinMason has any one of you two figured out a way to solve this? I am currently struggling with this issue too, private repo, not in an orga.

@MerlinMason
Copy link

@finnSMB no but yes... I ended up swapping to https://github.com/fastify/github-action-merge-dependabot with the following config which has been working great.

auto-merge:
        name: Auto-Merge PRs by Dependabot
        needs:
            - check-linting
            - check-dependencies
            - check-cypress
            - check-unit-tests
        runs-on: ubuntu-latest
        permissions:
            pull-requests: write
            contents: write
        steps:
          - uses: fastify/[email protected]
            with:
                github-token: ${{ secrets.GITHUB_TOKEN }}
                target: minor

@finnSMB
Copy link

finnSMB commented Aug 22, 2022

I appreciate it, thank you @MerlinMason

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

No branches or pull requests

4 participants