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

[GitHub Actions] Formatter action fails to commit #43

Closed
WeirdAlex03 opened this issue Nov 18, 2022 · 0 comments
Closed

[GitHub Actions] Formatter action fails to commit #43

WeirdAlex03 opened this issue Nov 18, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@WeirdAlex03
Copy link
Collaborator

WeirdAlex03 commented Nov 18, 2022

Subject of the issue


The GitHub Actions job "Run formatter" is failing to commit its results to PRs. The logs indicate the committing action does not have permission to push to the fork.

I know there is a checkbox when creating PRs to allow the target's maintainers to make changes to the source branch, and I believe this may be part of the problem -- perhaps the bot needs to be added as a maintainer to this repo?

I am investigating this and will report back when I have more concrete answers.

Expected behaviour


If the formatter makes changes, they should successfully be committed to the branch

Actual behaviour


The committing script does not have push access to the fork

Steps to reproduce


Open a PR where there formatter script (npm run format) finds something to change, then check the workflow run results

Any relevant logs, error output, etc?


Relevant output:

Error: Error: Pushing to https://github.com/emilkovacev/devU-api
remote: Permission to emilkovacev/devU-api.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/emilkovacev/devU-api/': The requested URL returned error: 403

Full logs: https://github.com/makeopensource/devU-api/actions/runs/3485465689/jobs/5831029630

@WeirdAlex03 WeirdAlex03 added the bug Something isn't working label Nov 18, 2022
@WeirdAlex03 WeirdAlex03 self-assigned this Nov 18, 2022
alans-42 added a commit to alans-42/devU-api that referenced this issue Feb 21, 2023
Add the submission problem score entity

Add documentation

rename filenames to be consistently singular

Co-authored-by: Emil Kovacev <[email protected]>
Co-authored-by: Emil Kovacev <[email protected]>
Co-authored-by: John Abramo <[email protected]>
Co-authored-by: Alex M <[email protected]>
Co-authored-by: dylanzinsley <[email protected]>
Co-authored-by: Adrian Carter <[email protected]>
Co-authored-by: alan soto <[email protected]>
Co-authored-by: Alan Soto <[email protected]>
Co-authored-by: --global <--global>
Co-authored-by: Adrian Carter <[email protected]>
Co-authored-by: zhikangxie107 <[email protected]>
Co-authored-by: Dylanz5 <[email protected]>
Co-authored-by: ToNewAutumn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant