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

Run CI codestyle fixes on PRs rather than master #1634

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jnoordsij
Copy link
Contributor

@jnoordsij jnoordsij commented Jul 16, 2024

The current CI configuration tries to commit automatic style fixes to the master branch. This fails due to pushing not being allowed due to branch protection rules; see e.g. https://github.com/barryvdh/laravel-debugbar/actions/runs/9922834440/job/27412338699#step:7:62.

This PR moves the codestyle fixes to be applied on the individual PRs. Alternatively, the protection rules could be updated to ensure the GitHub actions bot is allowed to push to the master branch.

Edit: appearently the config suggested per https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#checkout-the-correct-branch does not seem to work yet with checking out; might investigate later.

@jnoordsij jnoordsij force-pushed the ci-codestyle-proposal branch from 7614704 to 0e44635 Compare July 16, 2024 09:32
@jnoordsij jnoordsij marked this pull request as draft July 16, 2024 09:38
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.

1 participant